Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",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.001689/0.001688, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002072/0.002072, allocations: 192.5 kB / 16.25 MB, free: 6.629 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.264/1.264, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.158/2.158, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5712, allocations: 140.4 MB / 0.9492 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002342/0.5735, allocations: 1.773 MB / 0.951 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000808/0.5744, allocations: 0.6124 MB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.93e-05/0.5744, allocations: 1.375 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.5746, allocations: 27.97 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.5749, allocations: 88.67 kB / 0.9517 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.5751, allocations: 141.1 kB / 0.9518 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000197/0.5753, allocations: 212.6 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.5754, allocations: 21.55 kB / 0.952 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.323e-05/0.5755, allocations: 105.4 kB / 0.9521 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01922/0.5948, allocations: 1.565 MB / 0.9537 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.5948, allocations: 16.31 kB / 0.9537 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.5949, allocations: 38.78 kB / 0.9537 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.595, allocations: 29.72 kB / 0.9537 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.5951, allocations: 84.66 kB / 0.9538 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.5953, allocations: 187 kB / 0.954 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5953, allocations: 3.984 kB / 0.954 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5953, allocations: 1.219 kB / 0.954 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.5954, allocations: 0 / 0.954 GB, free: 6.113 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005464/0.5959, allocations: 0.5345 MB / 0.9545 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5959, allocations: 9.375 kB / 0.9545 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.532e-05/0.596, allocations: 40.92 kB / 0.9546 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.294e-05/0.596, allocations: 18.34 kB / 0.9546 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.5962, allocations: 233.7 kB / 0.9548 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5963, allocations: 8.781 kB / 0.9548 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.5963, allocations: 9.781 kB / 0.9548 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.5965, allocations: 87.84 kB / 0.9549 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.5965, allocations: 0 / 0.9549 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5965, allocations: 9.25 kB / 0.9549 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.5965, allocations: 1.906 kB / 0.9549 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.5966, allocations: 46.72 kB / 0.955 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.5972, allocations: 443.1 kB / 0.9554 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.5973, allocations: 64.56 kB / 0.9555 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.5973, allocations: 30.59 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.5974, allocations: 1.125 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.5975, allocations: 95.94 kB / 0.9556 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 2.044e-06/0.5975, allocations: 0 / 0.9556 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000233/0.5977, allocations: 137.6 kB / 0.9557 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.5978, allocations: 54.31 kB / 0.9558 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.5979, allocations: 190.6 kB / 0.9559 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5979, allocations: 33.3 kB / 0.956 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.598, allocations: 114.6 kB / 0.9561 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.598, allocations: 31.28 kB / 0.9561 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/0.5981, allocations: 51.97 kB / 0.9562 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.5981, allocations: 335.6 kB / 0.9565 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.836e-05/0.5982, allocations: 22.34 kB / 0.9565 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.5984, allocations: 117.5 kB / 0.9566 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.5985, allocations: 94.31 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5985, allocations: 1.812 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001824/0.5987, allocations: 132.4 kB / 0.9568 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5987, allocations: 10.09 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5987, allocations: 1.469 kB / 0.9568 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5987, allocations: 5.562 kB / 0.9568 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.5988, allocations: 13.66 kB / 0.9569 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.5988, allocations: 2.094 kB / 0.9569 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.599, allocations: 20.95 kB / 0.9569 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.599, allocations: 5.188 kB / 0.9569 GB, free: 3.496 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: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.417e-05/0.5991, allocations: 144.6 kB / 0.957 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.5991, allocations: 14.62 kB / 0.957 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.5991, allocations: 13.61 kB / 0.9571 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5991, allocations: 9.328 kB / 0.9571 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5991, allocations: 0 / 0.9571 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.5992, allocations: 1.406 kB / 0.9571 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.5995, allocations: 433.9 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.5995, allocations: 1.094 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.5996, allocations: 2.25 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.5996, allocations: 1.062 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.5996, allocations: 9.141 kB / 0.9575 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5996, allocations: 5.094 kB / 0.9575 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.5996, allocations: 0 / 0.9575 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.5997, allocations: 207.2 kB / 0.9577 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.5998, allocations: 89.08 kB / 0.9578 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.5998, allocations: 1.125 kB / 0.9578 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.5999, allocations: 11.61 kB / 0.9578 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.6, allocations: 11.11 kB / 0.9578 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.6, allocations: 12.78 kB / 0.9578 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.692e-05/0.6001, allocations: 144 kB / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6001, allocations: 0 / 0.9579 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002784/0.6004, allocations: 34.38 kB / 0.958 GB, free: 2.512 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: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004712/0.6008, allocations: 0.8162 MB / 0.9588 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.601, allocations: 91.12 kB / 0.9589 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.601, allocations: 0.7188 kB / 0.9589 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.258e-05/0.6011, allocations: 39.23 kB / 0.9589 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.6015, allocations: 47.67 kB / 0.9589 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.6029, allocations: 1.804 MB / 0.9607 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.6031, allocations: 0.7117 MB / 0.9614 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.113e-05/0.6032, allocations: 17.67 kB / 0.9614 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.6033, allocations: 54.06 kB / 0.9615 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.6033, allocations: 0 / 0.9615 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.6185, allocations: 4.786 MB / 0.9661 GB, free: 13 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.6188, allocations: 269.6 kB / 0.9664 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.366, allocations: 6.781 kB / 0.9664 GB, free: 12.64 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches