Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 105 kB / 16.41 MB, free: 6.465 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.001628/0.001628, allocations: 187 kB / 17.34 MB, free: 5.719 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.448/1.448, allocations: 222.9 MB / 241 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.395/2.395, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.89 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9128/0.9143, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003139/0.9175, allocations: 1.749 MB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00151/0.919, allocations: 0.8955 MB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.9191, allocations: 4.875 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.9193, allocations: 23.34 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.9198, allocations: 125.7 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.9202, allocations: 156.1 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002886/0.9205, allocations: 241.2 kB / 1.092 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.9206, allocations: 40.83 kB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.9208, allocations: 112.4 kB / 1.092 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.9323, allocations: 1.983 MB / 1.094 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.9324, allocations: 17.06 kB / 1.094 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.9326, allocations: 38.67 kB / 1.094 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.821e-05/0.9327, allocations: 37.03 kB / 1.094 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.9329, allocations: 103.8 kB / 1.094 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.9333, allocations: 215 kB / 1.094 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9333, allocations: 0.6562 kB / 1.094 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9333, allocations: 0 / 1.094 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.9334, allocations: 1.625 kB / 1.094 GB, free: 2.895 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.0008122/0.9342, allocations: 0.5531 MB / 1.095 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.9342, allocations: 9.094 kB / 1.095 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.642e-05/0.9343, allocations: 28.69 kB / 1.095 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.9346, allocations: 241.9 kB / 1.095 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.9347, allocations: 10.34 kB / 1.095 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.9347, allocations: 15.97 kB / 1.095 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.9349, allocations: 110.5 kB / 1.095 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.935, allocations: 3.938 kB / 1.095 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.935, allocations: 5.984 kB / 1.095 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.935, allocations: 2.453 kB / 1.095 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.9351, allocations: 59.83 kB / 1.095 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.936, allocations: 0.534 MB / 1.096 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.9362, allocations: 105 kB / 1.096 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.9363, allocations: 42.19 kB / 1.096 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.9363, allocations: 1.594 kB / 1.096 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.9367, allocations: 134.2 kB / 1.096 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.9367, allocations: 4.656 kB / 1.096 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003891/0.9371, allocations: 155.9 kB / 1.096 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.9371, allocations: 84.67 kB / 1.096 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.9373, allocations: 211.6 kB / 1.096 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.9374, allocations: 34.11 kB / 1.096 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.115e-05/0.9375, allocations: 118.6 kB / 1.097 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.9375, allocations: 35.81 kB / 1.097 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.982e-05/0.9376, allocations: 66.88 kB / 1.097 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.9377, allocations: 329.3 kB / 1.097 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.9377, allocations: 29.52 kB / 1.097 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.938, allocations: 139.9 kB / 1.097 GB, free: 452 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.9381, allocations: 118.5 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9382, allocations: 0.5 kB / 1.097 GB, free: 356 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002677/0.9384, allocations: 164 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9385, allocations: 6.094 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.9385, allocations: 6.547 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.9385, allocations: 2.375 kB / 1.097 GB, free: 268 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.9386, allocations: 18.34 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9386, allocations: 3.25 kB / 1.097 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.9389, allocations: 28.75 kB / 1.097 GB, free: 252 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.9389, allocations: 10.31 kB / 1.097 GB, free: 248 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.0001312/0.939, allocations: 142.8 kB / 1.098 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.9391, allocations: 16.34 kB / 1.098 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.9391, allocations: 24.66 kB / 1.098 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.9391, allocations: 2.094 kB / 1.098 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.9391, allocations: 1.453 kB / 1.098 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.9391, allocations: 1.312 kB / 1.098 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.9398, allocations: 455.5 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9398, allocations: 5.125 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.822e-05/0.9399, allocations: 8.391 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.9399, allocations: 1.094 kB / 1.098 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.9399, allocations: 6.75 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.9399, allocations: 5.625 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9399, allocations: 0.875 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.9402, allocations: 234 kB / 1.098 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.9403, allocations: 99.86 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.9403, allocations: 6.391 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.9404, allocations: 14.45 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.9405, allocations: 18.94 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.9406, allocations: 7.781 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001439/0.9407, allocations: 142.8 kB / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9407, allocations: 0 / 1.099 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003365/0.9411, allocations: 56.75 kB / 1.099 GB, free: 15.3 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.000381/0.9414, allocations: 164.8 kB / 1.099 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002607/0.9417, allocations: 94.67 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.9417, allocations: 5.094 kB / 1.099 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.9418, allocations: 56.19 kB / 1.099 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.9423, allocations: 58.45 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006243/0.943, allocations: 324 kB / 1.099 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.9433, allocations: 0.718 MB / 1.1 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.9433, allocations: 28.58 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.9434, allocations: 4 kB / 1.1 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.007493/0.9509, allocations: 3.214 MB / 1.103 GB, free: 13.82 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time