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.009289/0.009289, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001906/0.001907, allocations: 194.8 kB / 16.67 MB, free: 5.52 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.89 kB / 0.9508 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.168/1.17, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003556/1.173, allocations: 1.735 MB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001785/1.175, allocations: 0.9022 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/1.175, allocations: 2.25 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000198/1.176, allocations: 26.98 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004102/1.176, allocations: 122.1 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/1.176, allocations: 156.2 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/1.177, allocations: 242.8 kB / 1.091 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/1.177, allocations: 35.86 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001879/1.177, allocations: 116.3 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/1.187, allocations: 1.659 MB / 1.093 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/1.188, allocations: 21.5 kB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/1.188, allocations: 38.12 kB / 1.093 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/1.188, allocations: 44.56 kB / 1.093 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/1.188, allocations: 92.34 kB / 1.093 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006078/1.189, allocations: 212.4 kB / 1.093 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.189, allocations: 3.938 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.314e-06/1.189, allocations: 0.8438 kB / 1.093 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.189, 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.001176/1.19, allocations: 0.5574 MB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.19, allocations: 9.25 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/1.19, allocations: 24.03 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/1.191, allocations: 241.6 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/1.191, allocations: 7.156 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/1.191, allocations: 15.62 kB / 1.094 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/1.191, allocations: 114.6 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.191, allocations: 4.812 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/1.191, allocations: 1.953 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.191, allocations: 2.562 kB / 1.094 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/1.191, allocations: 52.33 kB / 1.094 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.192, allocations: 0.5414 MB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/1.192, allocations: 100.9 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/1.192, allocations: 37.95 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/1.192, allocations: 1.312 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/1.193, allocations: 132.8 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 3.848e-06/1.193, allocations: 0.7188 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004902/1.193, allocations: 166.6 kB / 1.095 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.193, allocations: 85.48 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/1.194, allocations: 207.1 kB / 1.095 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/1.194, allocations: 42.44 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.77e-05/1.194, allocations: 119.3 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/1.194, allocations: 38.75 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.194, allocations: 55.98 kB / 1.096 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/1.194, allocations: 329.6 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/1.194, allocations: 34.3 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/1.194, allocations: 139.4 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/1.195, allocations: 116.3 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.195, allocations: 1.281 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00035/1.195, allocations: 155.8 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.195, allocations: 5.594 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.195, allocations: 2.391 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/1.195, allocations: 3.438 kB / 1.096 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/1.195, allocations: 22.48 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.195, allocations: 2.062 kB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/1.195, allocations: 33.84 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/1.195, allocations: 9.906 kB / 1.096 GB, free: 112 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.0001686/1.196, allocations: 142.4 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/1.196, allocations: 16.86 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/1.196, allocations: 20.47 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.196, allocations: 2.641 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/1.196, allocations: 0.9062 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.196, allocations: 1.312 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/1.197, allocations: 462.9 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.197, allocations: 2.906 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/1.197, allocations: 2.859 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/1.197, allocations: 5.375 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/1.197, allocations: 6.969 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.197, allocations: 4.969 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.197, allocations: 0.75 kB / 1.097 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/1.197, allocations: 235 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/1.197, allocations: 95.28 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/1.197, allocations: 2.156 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/1.197, allocations: 15.75 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/1.197, allocations: 18.48 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/1.197, allocations: 12 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001656/1.198, allocations: 142.5 kB / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.81e-07/1.198, allocations: 0 / 1.098 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004062/1.198, allocations: 56.5 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.0004627/1.199, allocations: 174.6 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000308/1.199, allocations: 97.97 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.199, allocations: 5.125 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/1.199, allocations: 42.89 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.0004804/1.199, allocations: 62.17 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.0008319/1.2, allocations: 313.2 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/1.201, allocations: 0.7237 MB / 1.099 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001469/1.201, allocations: 25.02 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/1.201, allocations: 26.17 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of SimCode: time 6.61e-07/1.201, allocations: 1.062 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of Templates: time 0.01362/1.215, allocations: 3.662 MB / 1.103 GB, free: 13.75 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