Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 218.5 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.216/3.216, allocations: 0.49 GB / 0.7951 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 70.17 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.33, allocations: 176.1 MB / 1.326 GB, free: 1.582 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003234/0.3332, allocations: 1.625 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.3344, allocations: 0.5656 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.3345, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.3347, allocations: 27.73 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003877/0.3351, allocations: 111.5 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3355, allocations: 151.6 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.3358, allocations: 223.3 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3359, allocations: 21.73 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.3361, allocations: 99.73 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01286/0.3489, allocations: 1.574 MB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.019e-05/0.349, allocations: 16 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.3491, allocations: 40 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.3492, allocations: 35.89 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.3493, allocations: 67.64 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.3497, allocations: 207.1 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3497, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3497, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.3497, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 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.0007912/0.3505, allocations: 456.9 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3506, allocations: 12.03 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.037e-05/0.3506, allocations: 46.67 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.3507, allocations: 24.84 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.351, allocations: 186.4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.351, allocations: 12 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.351, allocations: 12 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3512, allocations: 81.66 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3512, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3512, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3512, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.3513, allocations: 47.91 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007814/0.3521, allocations: 379.7 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3523, allocations: 62.75 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.52e-05/0.3523, allocations: 32.77 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3523, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3526, allocations: 91.33 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.3526, allocations: 8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0003194/0.3529, allocations: 133.7 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.3529, allocations: 55.34 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.3531, allocations: 195.3 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.912e-05/0.3532, allocations: 33.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3533, allocations: 116 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3533, allocations: 23.8 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.3534, allocations: 61.66 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3536, allocations: 326.8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.3536, allocations: 27.89 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.354, allocations: 222.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.3541, allocations: 89.84 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3541, allocations: 0 / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002463/0.3543, allocations: 138.8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3543, allocations: 11.94 kB / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3544, allocations: 0 / 1.333 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3544, allocations: 8.062 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.3545, allocations: 19.92 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3545, allocations: 0 / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.3546, allocations: 27.88 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3547, allocations: 4 kB / 1.333 GB, free: 10.07 MB / 1.029 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.0001375/0.3548, allocations: 133.6 kB / 1.333 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.3548, allocations: 19.84 kB / 1.333 GB, free: 9.914 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.3549, allocations: 17.39 kB / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3549, allocations: 0 / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3549, allocations: 0 / 1.333 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3549, allocations: 7.938 kB / 1.333 GB, free: 9.883 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.3554, allocations: 385.4 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3554, allocations: 0 / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.3555, allocations: 7.938 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3555, allocations: 0 / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3555, allocations: 12 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3555, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3555, allocations: 3.984 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3557, allocations: 203.3 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.3557, allocations: 11.91 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3558, allocations: 12 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3559, allocations: 7.984 kB / 1.334 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.3559, allocations: 11.98 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.356, allocations: 7.984 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001346/0.3561, allocations: 136 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3561, allocations: 0 / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000317/0.3564, allocations: 47.92 kB / 1.334 GB, free: 8.988 MB / 1.029 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.0008581/0.3573, allocations: 0.8101 MB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3575, allocations: 84.03 kB / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3575, allocations: 0 / 1.335 GB, free: 8.098 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.026e-05/0.3576, allocations: 39.86 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.358, allocations: 42.31 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.3602, allocations: 1.786 MB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3603, allocations: 102.3 kB / 1.337 GB, free: 6.004 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.935e-05/0.3604, allocations: 17.48 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.877e-05/0.3605, allocations: 51.41 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3605, allocations: 0 / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03549/0.396, allocations: 5.873 MB / 1.343 GB, free: 272 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.17, allocations: 9.109 kB / 1.343 GB, free: 268 kB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.860613479977474]