Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009335/0.009335, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.002083/0.002083, allocations: 195.8 kB / 16.67 MB, free: 5.938 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9719/0.9732, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002884/0.9761, allocations: 1.739 MB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.9776, allocations: 0.895 MB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.9777, allocations: 4.688 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.978, allocations: 28.28 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004279/0.9784, allocations: 121.6 kB / 1.091 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.9788, allocations: 148.8 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.9792, allocations: 251.4 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.9793, allocations: 32.84 kB / 1.091 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.9795, allocations: 112.7 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01047/0.99, allocations: 1.705 MB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.9901, allocations: 18 kB / 1.093 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.9903, allocations: 37.97 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.9904, allocations: 44.88 kB / 1.093 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.9906, allocations: 91.77 kB / 1.093 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.9912, allocations: 215.9 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.9912, allocations: 0 / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9912, allocations: 0.8438 kB / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.9913, allocations: 0 / 1.093 GB, free: 2.754 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00106/0.9923, allocations: 0.5577 MB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.9924, allocations: 10.2 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.9925, allocations: 23.72 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.9928, allocations: 242.1 kB / 1.094 GB, free: 2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.9929, allocations: 10.98 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.9929, allocations: 10.69 kB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.9932, allocations: 100.4 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.9932, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.9932, allocations: 5.453 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.9932, allocations: 2.375 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.9934, allocations: 52.14 kB / 1.094 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/0.9944, allocations: 473.3 kB / 1.095 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.9949, allocations: 132.2 kB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.023e-05/0.995, allocations: 38.56 kB / 1.095 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.995, allocations: 5.094 kB / 1.095 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.9953, allocations: 108.3 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.9954, allocations: 0.625 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004494/0.9958, allocations: 165.9 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.9959, allocations: 56.64 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.9961, allocations: 205 kB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.9961, allocations: 34.09 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.9962, allocations: 130.8 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.9963, allocations: 39.48 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.9964, allocations: 59.48 kB / 1.096 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.9965, allocations: 329 kB / 1.096 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.264e-05/0.9966, allocations: 31.52 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.9968, allocations: 136.9 kB / 1.096 GB, free: 500 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.997, allocations: 100.8 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.997, allocations: 1.344 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003295/0.9974, allocations: 157.3 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9974, allocations: 5.875 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.9974, allocations: 1.016 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.9974, allocations: 3.125 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.9975, allocations: 14.06 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9975, allocations: 2.188 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.9978, allocations: 24.72 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.9978, allocations: 9.531 kB / 1.096 GB, free: 332 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,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,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001529/0.998, allocations: 145.6 kB / 1.096 GB, free: 188 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.998, allocations: 21.02 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.457e-05/0.9981, allocations: 19.55 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.9981, allocations: 1.938 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9981, allocations: 1.297 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.9981, allocations: 1.391 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.999, allocations: 498 kB / 1.097 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.999, allocations: 4.656 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.418e-05/0.999, allocations: 8.922 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9991, allocations: 1.125 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.9991, allocations: 1.766 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.9991, allocations: 5.031 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9991, allocations: 0.6562 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.9994, allocations: 229 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.9995, allocations: 97.78 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/0.9995, allocations: 7.312 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.9997, allocations: 19 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.9998, allocations: 24.91 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.9998, allocations: 6.094 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001707/1, allocations: 141.5 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.61e-07/1, allocations: 0 / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003783/1, allocations: 45.33 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004205/1.001, allocations: 171.7 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000307/1.001, allocations: 105.3 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/1.001, allocations: 0 / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/1.001, allocations: 54.06 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/1.002, allocations: 60.84 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/1.003, allocations: 317 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/1.003, allocations: 0.7276 MB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001198/1.003, allocations: 24.45 kB / 1.099 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/1.003, allocations: 27.59 kB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of SimCode: time 3.61e-07/1.003, allocations: 0 / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of Templates: time 0.01188/1.015, allocations: 3.728 MB / 1.103 GB, free: 13.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches