Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_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.001157/0.001157, allocations: 108 kB / 15.61 MB, free: 152 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.00112/0.00112, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001285, allocations: 67.89 kB / 0.8126 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5474, allocations: 140.4 MB / 0.9497 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002386/0.5498, allocations: 1.72 MB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.5509, allocations: 0.9001 MB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.551, allocations: 1.562 kB / 0.9523 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.5511, allocations: 34.66 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.5514, allocations: 116.5 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.5517, allocations: 162.8 kB / 0.9526 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.5519, allocations: 234.7 kB / 0.9528 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.552, allocations: 38.06 kB / 0.9528 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.5521, allocations: 113.5 kB / 0.9529 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009207/0.5613, allocations: 1.686 MB / 0.9546 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.5614, allocations: 17.12 kB / 0.9546 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.5615, allocations: 39.98 kB / 0.9546 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.5616, allocations: 39.38 kB / 0.9547 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.5617, allocations: 98.58 kB / 0.9548 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.5619, allocations: 209.4 kB / 0.955 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5619, allocations: 1.25 kB / 0.955 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5619, allocations: 3.938 kB / 0.955 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.562, allocations: 0 / 0.955 GB, free: 5.766 MB / 0.7169 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.0006442/0.5626, allocations: 0.5583 MB / 0.9555 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5626, allocations: 9.031 kB / 0.9555 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.5627, allocations: 41.47 kB / 0.9556 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.5627, allocations: 20.53 kB / 0.9556 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.563, allocations: 250.3 kB / 0.9558 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.563, allocations: 10.66 kB / 0.9558 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.563, allocations: 13.78 kB / 0.9559 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.5632, allocations: 92.58 kB / 0.9559 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.5632, allocations: 0 / 0.9559 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5632, allocations: 1.812 kB / 0.9559 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.5632, allocations: 1.781 kB / 0.9559 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.418e-05/0.5633, allocations: 52.69 kB / 0.956 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006286/0.5639, allocations: 466.3 kB / 0.9564 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.5643, allocations: 144 kB / 0.9566 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.5644, allocations: 33.88 kB / 0.9566 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5644, allocations: 1.781 kB / 0.9566 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.5646, allocations: 114.9 kB / 0.9567 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.5646, allocations: 0 / 0.9567 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0002966/0.5649, allocations: 168 kB / 0.9569 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.5649, allocations: 62.2 kB / 0.9569 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.5651, allocations: 198.2 kB / 0.9571 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.5651, allocations: 37.45 kB / 0.9572 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.5652, allocations: 122.1 kB / 0.9573 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.5652, allocations: 33.58 kB / 0.9573 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.5653, allocations: 59.55 kB / 0.9574 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.5654, allocations: 328.8 kB / 0.9577 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.5654, allocations: 33.08 kB / 0.9577 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.5656, allocations: 127 kB / 0.9578 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5658, allocations: 98.81 kB / 0.9579 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5658, allocations: 0.875 kB / 0.9579 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002207/0.566, allocations: 154.4 kB / 0.9581 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.566, allocations: 5.594 kB / 0.9581 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.566, allocations: 5.938 kB / 0.9581 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.566, allocations: 1.969 kB / 0.9581 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.658e-05/0.5661, allocations: 23.39 kB / 0.9581 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5661, allocations: 2.344 kB / 0.9581 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.5663, allocations: 23.52 kB / 0.9581 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5664, allocations: 9.5 kB / 0.9581 GB, free: 3 MB / 0.7169 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 9.154e-05/0.5664, allocations: 139.8 kB / 0.9583 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.5665, allocations: 24 kB / 0.9583 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.5665, allocations: 22 kB / 0.9583 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5665, allocations: 2.75 kB / 0.9583 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5665, allocations: 0 / 0.9583 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5665, allocations: 3.984 kB / 0.9583 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.5671, allocations: 493.5 kB / 0.9588 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5671, allocations: 4 kB / 0.9588 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.5671, allocations: 4.125 kB / 0.9588 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5671, allocations: 0 / 0.9588 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.5671, allocations: 13.3 kB / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5671, allocations: 1.375 kB / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5671, allocations: 0 / 0.9588 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.5673, allocations: 223.7 kB / 0.959 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.981e-05/0.5674, allocations: 97.28 kB / 0.9591 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.5674, allocations: 9.172 kB / 0.9591 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.5675, allocations: 22.88 kB / 0.9592 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.5676, allocations: 25.06 kB / 0.9592 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.5676, allocations: 5.031 kB / 0.9592 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.719e-05/0.5677, allocations: 142.5 kB / 0.9593 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5677, allocations: 0 / 0.9593 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003088/0.568, allocations: 55.11 kB / 0.9594 GB, free: 1.945 MB / 0.7169 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.0005313/0.5686, allocations: 0.8241 MB / 0.9602 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002292/0.5688, allocations: 116.7 kB / 0.9603 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5688, allocations: 0 / 0.9603 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.5689, allocations: 52.78 kB / 0.9603 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.5693, allocations: 60.47 kB / 0.9604 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.5711, allocations: 1.908 MB / 0.9623 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.5713, allocations: 0.7277 MB / 0.963 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.091e-05/0.5714, allocations: 23.5 kB / 0.963 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.5715, allocations: 56.84 kB / 0.963 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5715, allocations: 0 / 0.963 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.5943, allocations: 5.534 MB / 0.9685 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.605/8.199, allocations: 6.875 kB / 0.9685 GB, free: 11.95 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches