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.008242/0.008242, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001512/0.001512, allocations: 196.9 kB / 16.68 MB, free: 5.93 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.411/2.411, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7985/0.7999, allocations: 151.6 MB / 1.166 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002845/0.8027, allocations: 1.642 MB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.8038, allocations: 0.5577 MB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/0.8039, allocations: 0 / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.8041, allocations: 35.72 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.8044, allocations: 115.5 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.8047, allocations: 141.2 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002656/0.805, allocations: 223.5 kB / 1.169 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.8051, allocations: 17.56 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.8053, allocations: 103.7 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009421/0.8147, allocations: 1.585 MB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.8148, allocations: 16 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.8149, allocations: 35.98 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.8149, allocations: 31.91 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.815, allocations: 83.56 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003065/0.8154, allocations: 203.2 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8154, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8154, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.8154, allocations: 0 / 1.171 GB, free: 15.45 MB / 0.9044 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.0007502/0.8161, allocations: 0.5254 MB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8162, allocations: 12.92 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.8163, allocations: 38.73 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.8164, allocations: 20.75 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.8166, allocations: 231.8 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.8167, allocations: 8 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.8167, allocations: 12 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.8169, allocations: 84.89 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.8169, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.8169, allocations: 8 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8169, allocations: 0 / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.817, allocations: 51.84 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.8178, allocations: 436.4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.8179, allocations: 70.5 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.818, allocations: 28.84 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.818, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.8183, allocations: 87.38 kB / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 3.868e-06/0.8183, allocations: 0 / 1.172 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0003188/0.8186, allocations: 141.5 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.8187, allocations: 51.41 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.8189, allocations: 195.7 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.8189, allocations: 33.7 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.8191, allocations: 112 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.8191, allocations: 31.62 kB / 1.173 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.065e-05/0.8192, allocations: 53.69 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8194, allocations: 326.8 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.8194, allocations: 28 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.8197, allocations: 111.7 kB / 1.173 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.8198, allocations: 92.16 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.8198, allocations: 4 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000218/0.8201, allocations: 129.4 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.8201, allocations: 11.92 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.8201, allocations: 48 / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.8201, allocations: 7.984 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.8202, allocations: 11.94 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.8202, allocations: 8.125 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.8204, allocations: 19.89 kB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.8204, allocations: 4 kB / 1.174 GB, free: 12.22 MB / 0.9044 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.0001233/0.8206, allocations: 133.8 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.8206, allocations: 23.73 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.8207, allocations: 17.34 kB / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.8207, allocations: 0 / 1.174 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8207, allocations: 4 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.8207, allocations: 4 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.8212, allocations: 442.2 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8212, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.8213, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.8213, allocations: 4 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.8213, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8213, allocations: 0 / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.8213, allocations: 3.984 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.8215, allocations: 215.7 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.8216, allocations: 88.92 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.8216, allocations: 0 / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.8217, allocations: 11.98 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.8218, allocations: 15.92 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.417e-05/0.8218, allocations: 4 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001982/0.822, allocations: 140.1 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.822, allocations: 0 / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000305/0.8223, allocations: 40 kB / 1.175 GB, free: 10.99 MB / 0.9044 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.0008146/0.8232, allocations: 0.7966 MB / 1.176 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.8234, allocations: 83.78 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8234, allocations: 0 / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.8235, allocations: 36.23 kB / 1.176 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.8239, allocations: 66.06 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.8261, allocations: 1.766 MB / 1.177 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.8265, allocations: 0.7124 MB / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.8266, allocations: 21.53 kB / 1.178 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.8267, allocations: 55.56 kB / 1.178 GB, free: 7.336 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/0.8267, allocations: 4 kB / 1.178 GB, free: 7.332 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.8504, allocations: 5.008 MB / 1.183 GB, free: 2.457 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/9.03, allocations: 7.984 kB / 1.183 GB, free: 2.449 MB / 0.9044 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