Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_10_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.001548/0.001547, 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.001923/0.001924, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 67.91 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6563, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002835/0.6592, allocations: 1.628 MB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009502/0.6602, allocations: 0.5616 MB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.6603, allocations: 4 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.6604, allocations: 35.64 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.6607, allocations: 103.5 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.661, allocations: 151.5 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.6613, allocations: 211.4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.6614, allocations: 29.55 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.6615, allocations: 103.7 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008824/0.6703, allocations: 1.56 MB / 1.022 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.6704, allocations: 16 kB / 1.022 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.6706, allocations: 39.98 kB / 1.022 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.6707, allocations: 35.91 kB / 1.022 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.6708, allocations: 83.56 kB / 1.022 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.6712, allocations: 191.4 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.6712, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.734e-06/0.6712, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.6713, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 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.0007811/0.6721, allocations: 0.5293 MB / 1.023 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.6721, allocations: 12.03 kB / 1.023 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.6721, allocations: 34.75 kB / 1.023 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.6722, allocations: 20.75 kB / 1.023 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.6725, allocations: 235.8 kB / 1.023 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.6725, allocations: 4 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.6726, allocations: 16 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.6728, allocations: 81.59 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.6728, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.6728, allocations: 4 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.6728, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.6729, allocations: 47.91 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007669/0.6737, allocations: 444.3 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.6738, allocations: 66.56 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.6739, allocations: 32.84 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.6739, allocations: 4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.6741, allocations: 83.56 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.6741, allocations: 3.938 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.00029/0.6744, allocations: 133.4 kB / 1.024 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.6744, allocations: 55.41 kB / 1.024 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.6746, allocations: 187.2 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/0.6747, allocations: 33.7 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.6748, allocations: 123.9 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.6748, allocations: 31.64 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.6749, allocations: 57.67 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.675, allocations: 322.8 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.6751, allocations: 23.98 kB / 1.025 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.6753, allocations: 127.5 kB / 1.025 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.6755, allocations: 84.23 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6755, allocations: 0 / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002391/0.6757, allocations: 137.4 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6758, allocations: 15.81 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.6758, allocations: 0 / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6758, allocations: 4 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.476e-05/0.6759, allocations: 11.98 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6759, allocations: 4 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.6761, allocations: 19.89 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.6761, allocations: 4 kB / 1.025 GB, free: 10.9 MB / 0.7794 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 0.0001228/0.6762, allocations: 141.6 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.6763, allocations: 19.75 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.6763, allocations: 29.42 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.6763, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6763, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6763, allocations: 0 / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.6768, allocations: 430.3 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6768, allocations: 4 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-05/0.6769, allocations: 3.938 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.6769, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6769, allocations: 4 kB / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6769, allocations: 0 / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6769, allocations: 0 / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.6771, allocations: 203.8 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.6772, allocations: 92.91 kB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.6772, allocations: 8 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.6773, allocations: 7.984 kB / 1.026 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.6774, allocations: 15.98 kB / 1.026 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.6774, allocations: 4 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001094/0.6775, allocations: 136.1 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6775, allocations: 0 / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000302/0.6779, allocations: 36 kB / 1.026 GB, free: 9.691 MB / 0.7794 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.0007038/0.6786, allocations: 0.8189 MB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.6788, allocations: 83.84 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6788, allocations: 0 / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.86e-05/0.6789, allocations: 39.92 kB / 1.027 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.6793, allocations: 53.64 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.6812, allocations: 1.771 MB / 1.029 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.6814, allocations: 0.7163 MB / 1.029 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.402e-05/0.6815, allocations: 21.53 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.985e-05/0.6816, allocations: 55.3 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6816, allocations: 0 / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.7051, allocations: 4.944 MB / 1.034 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.3, allocations: 12.05 kB / 1.034 GB, free: 1.188 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches