Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 64.5 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2988, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003339/0.3022, allocations: 1.745 MB / 1.055 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.304, allocations: 0.9049 MB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3041, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.3044, allocations: 35.66 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.3049, allocations: 111.5 kB / 1.056 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.3054, allocations: 155.7 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.3057, allocations: 239.4 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3059, allocations: 33.67 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3061, allocations: 111.7 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009958/0.3161, allocations: 1.695 MB / 1.058 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/0.3162, allocations: 20 kB / 1.058 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.3163, allocations: 40 kB / 1.058 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-05/0.3164, allocations: 35.91 kB / 1.058 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.3166, allocations: 91.55 kB / 1.058 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004489/0.3171, allocations: 219.2 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3171, allocations: 0 / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3171, allocations: 3.938 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.3171, allocations: 0 / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001068/0.3182, allocations: 0.5469 MB / 1.059 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.3182, allocations: 12.62 kB / 1.059 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.3183, allocations: 34.75 kB / 1.059 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.3184, allocations: 24.73 kB / 1.059 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3188, allocations: 251.7 kB / 1.059 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.3188, allocations: 12 kB / 1.059 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.3189, allocations: 12 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3191, allocations: 97.62 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3191, allocations: 0 / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3191, allocations: 4 kB / 1.059 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.3191, allocations: 4 kB / 1.059 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3193, allocations: 55.92 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008471/0.3201, allocations: 460.3 kB / 1.06 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.3206, allocations: 138.7 kB / 1.06 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.3206, allocations: 36.78 kB / 1.06 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3207, allocations: 4 kB / 1.06 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.3209, allocations: 119.2 kB / 1.06 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3209, allocations: 0 / 1.06 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003299/0.3212, allocations: 163.9 kB / 1.06 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.3213, allocations: 63.39 kB / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3215, allocations: 192.3 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3215, allocations: 33.7 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.3216, allocations: 128.4 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3217, allocations: 35.56 kB / 1.06 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.3217, allocations: 57.66 kB / 1.061 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3219, allocations: 326.8 kB / 1.061 GB, free: 328 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.104e-05/0.3219, allocations: 35.98 kB / 1.061 GB, free: 292 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.3222, allocations: 130 kB / 1.061 GB, free: 136 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3223, allocations: 97.78 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3223, allocations: 3.938 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002622/0.3226, allocations: 155.8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3226, allocations: 8 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3227, allocations: 0 / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3227, allocations: 8 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.3228, allocations: 19.92 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3228, allocations: 4 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.323, allocations: 23.83 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.323, allocations: 8 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.3232, allocations: 145.1 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.3232, allocations: 15.81 kB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.3232, allocations: 21.88 kB / 1.062 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3233, allocations: 4 kB / 1.062 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3233, allocations: 0 / 1.062 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3233, allocations: 3.984 kB / 1.062 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3239, allocations: 0.4942 MB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3239, allocations: 0 / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.3239, allocations: 4 kB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.324, allocations: 0 / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.324, allocations: 11.92 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.324, allocations: 4 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.324, allocations: 0 / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.3242, allocations: 231.2 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3243, allocations: 92.92 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3243, allocations: 7.938 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3245, allocations: 11.98 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.3245, allocations: 19.97 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.3246, allocations: 8 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001245/0.3247, allocations: 144.2 kB / 1.063 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3247, allocations: 0 / 1.063 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003069/0.325, allocations: 51.92 kB / 1.063 GB, free: 14.44 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006811/0.3257, allocations: 0.8296 MB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3259, allocations: 118.2 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.326, allocations: 0 / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.814e-05/0.326, allocations: 51.97 kB / 1.064 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.3265, allocations: 55.89 kB / 1.064 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002062/0.3285, allocations: 1.905 MB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.3288, allocations: 0.7203 MB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.056e-05/0.3289, allocations: 21.53 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.329, allocations: 51.42 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.329, allocations: 8 kB / 1.066 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05081/0.3798, allocations: 5.519 MB / 1.072 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.114, allocations: 11.48 kB / 1.072 GB, free: 5.184 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches