Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.0008702/0.0008702, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005532/0.005532, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.087/2.087, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003112, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5287, allocations: 142.4 MB / 0.9552 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.001561/0.5303, allocations: 1.532 MB / 0.9567 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.5314, allocations: 0.9301 MB / 0.9576 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.09e-05/0.5315, allocations: 1.188 kB / 0.9576 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.5316, allocations: 20.08 kB / 0.9576 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.5319, allocations: 98.89 kB / 0.9577 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.5321, allocations: 134.5 kB / 0.9578 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.5323, allocations: 229.7 kB / 0.958 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.5324, allocations: 33.81 kB / 0.9581 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.911e-05/0.5326, allocations: 106.3 kB / 0.9582 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04519/0.5778, allocations: 3.282 MB / 0.9614 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.782e-05/0.5778, allocations: 8.031 kB / 0.9614 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.393e-05/0.5779, allocations: 22.72 kB / 0.9614 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.578, allocations: 39.55 kB / 0.9614 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.5781, allocations: 103.5 kB / 0.9615 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.5783, allocations: 207.2 kB / 0.9617 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5783, allocations: 0 / 0.9617 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5783, allocations: 1.125 kB / 0.9617 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.5783, allocations: 7.938 kB / 0.9617 GB, free: 3.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000582/0.5789, allocations: 0.5183 MB / 0.9622 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.579, allocations: 13.27 kB / 0.9623 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.579, allocations: 47.12 kB / 0.9623 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.5791, allocations: 19.09 kB / 0.9623 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.5793, allocations: 246.3 kB / 0.9626 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5793, allocations: 10.91 kB / 0.9626 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.5793, allocations: 10.72 kB / 0.9626 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.5795, allocations: 115.3 kB / 0.9627 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5795, allocations: 1 kB / 0.9627 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5795, allocations: 9.406 kB / 0.9627 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.5795, allocations: 6.469 kB / 0.9627 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.489e-05/0.5796, allocations: 48.72 kB / 0.9627 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006505/0.5803, allocations: 0.5604 MB / 0.9633 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.5804, allocations: 98.69 kB / 0.9634 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.5805, allocations: 47.27 kB / 0.9634 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.5805, allocations: 5.375 kB / 0.9634 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.5807, allocations: 113.4 kB / 0.9635 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.5807, allocations: 1.312 kB / 0.9635 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0002757/0.581, allocations: 155.2 kB / 0.9637 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.581, allocations: 87.55 kB / 0.9638 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.5811, allocations: 202.2 kB / 0.964 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.5812, allocations: 33.61 kB / 0.964 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.5812, allocations: 125.5 kB / 0.9641 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.5813, allocations: 35.08 kB / 0.9642 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.5813, allocations: 36.2 kB / 0.9642 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/0.5814, allocations: 330.4 kB / 0.9645 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.5814, allocations: 28.98 kB / 0.9645 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.5816, allocations: 146.5 kB / 0.9647 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.5817, allocations: 114.8 kB / 0.9648 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5817, allocations: 0 / 0.9648 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002154/0.582, allocations: 154.4 kB / 0.9649 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.582, allocations: 6.344 kB / 0.9649 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.582, allocations: 1.125 kB / 0.9649 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.582, allocations: 6.688 kB / 0.9649 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.5821, allocations: 16.75 kB / 0.965 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5821, allocations: 6.578 kB / 0.965 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5823, allocations: 28.89 kB / 0.965 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5823, allocations: 5.406 kB / 0.965 GB, free: 0.8281 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.354e-05/0.5824, allocations: 144.9 kB / 0.9651 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.5825, allocations: 24.77 kB / 0.9652 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.5825, allocations: 21.03 kB / 0.9652 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5825, allocations: 2.188 kB / 0.9652 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.5825, allocations: 1.438 kB / 0.9652 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.5825, allocations: 0 / 0.9652 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.583, allocations: 479.4 kB / 0.9656 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.583, allocations: 0 / 0.9656 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.572e-05/0.583, allocations: 7.562 kB / 0.9656 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5831, allocations: 5.016 kB / 0.9657 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.5831, allocations: 1.969 kB / 0.9657 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5831, allocations: 4.969 kB / 0.9657 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5831, allocations: 9.141 kB / 0.9657 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.5833, allocations: 239.6 kB / 0.9659 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.5833, allocations: 90.48 kB / 0.966 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.5834, allocations: 9.328 kB / 0.966 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.5835, allocations: 19.14 kB / 0.966 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.5836, allocations: 20.84 kB / 0.966 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.5836, allocations: 14.39 kB / 0.966 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001091/0.5837, allocations: 141.8 kB / 0.9662 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5837, allocations: 7.469 kB / 0.9662 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002977/0.584, allocations: 40.03 kB / 0.9662 GB, free: 15.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0006159/0.5846, allocations: 0.8252 MB / 0.967 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002103/0.5849, allocations: 105.8 kB / 0.9671 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5849, allocations: 0 / 0.9671 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.042e-05/0.585, allocations: 50.45 kB / 0.9672 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.5854, allocations: 52.64 kB / 0.9672 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.5873, allocations: 1.963 MB / 0.9691 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.5875, allocations: 0.7171 MB / 0.9698 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.953e-05/0.5876, allocations: 26.86 kB / 0.9699 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.5877, allocations: 63.12 kB / 0.9699 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of SimCode: time 1.553e-06/0.5877, allocations: 0 / 0.9699 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.6381, allocations: 5.025 MB / 0.9748 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/0.6383, allocations: 272 kB / 0.9751 GB, free: 9.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.37, allocations: 2.625 kB / 0.9751 GB, free: 9.727 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches