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.007856/0.007856, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00146/0.00146, allocations: 202 kB / 16.68 MB, free: 5.969 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.707/2.707, allocations: 437.1 MB / 0.7106 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 63.91 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002981/0.3316, allocations: 1.635 MB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3328, allocations: 0.5616 MB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.3329, allocations: 0 / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.3331, allocations: 31.72 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.3334, allocations: 115.5 kB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.3338, allocations: 147.2 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002872/0.3341, allocations: 219.5 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3342, allocations: 25.53 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3343, allocations: 107.7 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01201/0.3464, allocations: 1.566 MB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.603e-05/0.3464, allocations: 12 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.3466, allocations: 39.97 kB / 1.171 GB, free: 3.316 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.3467, allocations: 35.84 kB / 1.171 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.3468, allocations: 83.56 kB / 1.171 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.3472, allocations: 195.2 kB / 1.171 GB, free: 3.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3472, allocations: 0 / 1.171 GB, free: 3.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3472, allocations: 0 / 1.171 GB, free: 3.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3472, allocations: 0 / 1.171 GB, free: 3.008 MB / 0.92 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.0008051/0.348, allocations: 0.5254 MB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3481, allocations: 11.97 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.806e-05/0.3481, allocations: 42.69 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.573e-05/0.3482, allocations: 24.83 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.3485, allocations: 235.8 kB / 1.172 GB, free: 2.066 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3485, allocations: 12 kB / 1.172 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3486, allocations: 8 kB / 1.172 GB, free: 2.047 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.3487, allocations: 88.89 kB / 1.172 GB, free: 1.957 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.3488, allocations: 3.938 kB / 1.172 GB, free: 1.953 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.3488, allocations: 4 kB / 1.172 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3488, allocations: 0 / 1.172 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.3489, allocations: 47.91 kB / 1.172 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000762/0.3497, allocations: 448.4 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3498, allocations: 66.5 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.3499, allocations: 32.84 kB / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3499, allocations: 0 / 1.172 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.3501, allocations: 87.38 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.3501, allocations: 0 / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0002916/0.3504, allocations: 137.6 kB / 1.173 GB, free: 1.066 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3505, allocations: 59.39 kB / 1.173 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.3507, allocations: 191.1 kB / 1.173 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.3507, allocations: 29.7 kB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.24e-05/0.3508, allocations: 120.2 kB / 1.173 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3509, allocations: 23.84 kB / 1.173 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.351, allocations: 53.67 kB / 1.173 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3511, allocations: 326.8 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.3512, allocations: 31.98 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.3514, allocations: 114.6 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3515, allocations: 84.31 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3515, allocations: 0 / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002256/0.3518, allocations: 133.5 kB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3518, allocations: 7.938 kB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.3518, allocations: 4 kB / 1.174 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3518, allocations: 0 / 1.174 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.3519, allocations: 20.05 kB / 1.174 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3519, allocations: 4 kB / 1.174 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.3521, allocations: 31.81 kB / 1.174 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3521, allocations: 4 kB / 1.174 GB, free: 15.75 MB / 0.9356 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.0001286/0.3523, allocations: 133.6 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.3523, allocations: 15.84 kB / 1.174 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.3523, allocations: 21.39 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3524, allocations: 4 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3524, allocations: 0 / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3524, allocations: 4 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005371/0.3529, allocations: 430.2 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3529, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.524e-05/0.353, allocations: 8 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.353, allocations: 3.938 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.353, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.353, allocations: 0 / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.353, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/0.3532, allocations: 215.8 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.3533, allocations: 85.06 kB / 1.175 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3533, allocations: 7.938 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.3534, allocations: 7.984 kB / 1.175 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.3535, allocations: 11.98 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3535, allocations: 8 kB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001246/0.3536, allocations: 132.1 kB / 1.175 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3536, allocations: 4 kB / 1.175 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002914/0.3539, allocations: 43.95 kB / 1.175 GB, free: 14.53 MB / 0.9356 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.000817/0.3548, allocations: 0.7997 MB / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.355, allocations: 87.84 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.355, allocations: 0 / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-05/0.3551, allocations: 44.17 kB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3554, allocations: 54.09 kB / 1.176 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3575, allocations: 1.784 MB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.3579, allocations: 0.7163 MB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.737e-05/0.3579, allocations: 17.55 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.358, allocations: 47.42 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.358, allocations: 0 / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.415/1.773, allocations: 5.016 MB / 1.183 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/18.03, allocations: 15.56 kB / 1.183 GB, free: 5.992 MB / 0.9356 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=400 --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