Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009331/0.009331, allocations: 102.3 kB / 15.73 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.001717/0.001717, allocations: 198.5 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.424/1.424, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.454/2.454, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.91 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.179, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003069/1.182, allocations: 1.735 MB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001557/1.184, allocations: 0.8994 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/1.184, allocations: 4.875 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002164/1.184, allocations: 28.05 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/1.184, allocations: 116.2 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/1.185, allocations: 152.9 kB / 1.091 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/1.185, allocations: 247.2 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/1.185, allocations: 35.27 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/1.186, allocations: 113.1 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009833/1.195, allocations: 1.66 MB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/1.196, allocations: 17.56 kB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/1.196, allocations: 42.72 kB / 1.093 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/1.196, allocations: 43.97 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/1.196, allocations: 92.11 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005985/1.197, allocations: 212.1 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.197, allocations: 4.594 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/1.197, allocations: 0 / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.283e-05/1.197, allocations: 0 / 1.093 GB, free: 2.758 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001103/1.198, allocations: 0.5556 MB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.198, allocations: 8.781 kB / 1.094 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/1.198, allocations: 24.39 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003695/1.198, allocations: 237.5 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.198, allocations: 11.73 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/1.198, allocations: 15.03 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/1.199, allocations: 117.9 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.199, allocations: 1.531 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/1.199, allocations: 5.422 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/1.199, allocations: 2.375 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/1.199, allocations: 53.38 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/1.2, allocations: 0.5414 MB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/1.2, allocations: 97.02 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/1.2, allocations: 41.44 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/1.2, allocations: 2.094 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003112/1.201, allocations: 138.1 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.675e-06/1.201, allocations: 1.094 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004712/1.201, allocations: 169.1 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/1.201, allocations: 80.77 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/1.201, allocations: 211.5 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/1.201, allocations: 38.14 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/1.202, allocations: 123.2 kB / 1.096 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/1.202, allocations: 30.94 kB / 1.096 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.202, allocations: 59.64 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.15e-05/1.202, allocations: 329.1 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/1.202, allocations: 30.77 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002587/1.202, allocations: 142.2 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.202, allocations: 114.5 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.202, allocations: 0.5625 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003214/1.203, allocations: 157 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.203, allocations: 5.812 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.203, allocations: 1.531 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.203, allocations: 3.484 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.203, allocations: 18.41 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/1.203, allocations: 4.094 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/1.203, allocations: 31.81 kB / 1.096 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/1.203, allocations: 9.969 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * 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.0001762/1.203, allocations: 138.7 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/1.203, allocations: 17.56 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/1.204, allocations: 23.62 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/1.204, allocations: 3.594 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.204, allocations: 0 / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.204, allocations: 5.797 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/1.204, allocations: 459.4 kB / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/1.204, allocations: 0 / 1.097 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/1.204, allocations: 8.938 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.204, allocations: 5.25 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/1.204, allocations: 2.859 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/1.204, allocations: 9.188 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.204, allocations: 5.641 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/1.205, allocations: 234 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/1.205, allocations: 91.12 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/1.205, allocations: 5.891 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.205, allocations: 16.52 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/1.205, allocations: 18.06 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/1.205, allocations: 7.406 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001768/1.205, allocations: 146.7 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.5e-07/1.205, allocations: 0 / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003792/1.206, allocations: 56.47 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0004587/1.206, allocations: 172.4 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003111/1.207, allocations: 98.83 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/1.207, allocations: 0.9688 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/1.207, allocations: 51.22 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/1.207, allocations: 60.84 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/1.208, allocations: 317.9 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/1.208, allocations: 0.7219 MB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000118/1.209, allocations: 21.23 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/1.209, allocations: 22.58 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.209, allocations: 0.875 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.01278/1.221, allocations: 3.667 MB / 1.103 GB, free: 13.74 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches