Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00158/0.00158, allocations: 104.5 kB / 15.99 MB, free: 6.355 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.001671/0.001672, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.795/2.795, allocations: 482.4 MB / 0.755 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63.44 kB / 0.924 GB, free: 356 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7477, allocations: 162.2 MB / 1.082 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002981/0.7507, allocations: 1.891 MB / 1.084 GB, free: 292 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.7523, allocations: 0.925 MB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.7524, allocations: 5.062 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.7526, allocations: 24.55 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.753, allocations: 100.3 kB / 1.085 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.7534, allocations: 139.2 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003215/0.7537, allocations: 241.3 kB / 1.086 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.7538, allocations: 40.19 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.754, allocations: 119.7 kB / 1.086 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03323/0.7872, allocations: 1.977 MB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.7874, allocations: 18.47 kB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.7876, allocations: 38.62 kB / 1.088 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.7877, allocations: 41.12 kB / 1.088 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.7879, allocations: 91.48 kB / 1.088 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.7883, allocations: 152.4 kB / 1.088 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7883, allocations: 0.5625 kB / 1.088 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7883, allocations: 4 kB / 1.088 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.7884, allocations: 0 / 1.088 GB, free: 14.66 MB / 0.8419 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.001121/0.7895, allocations: 0.5475 MB / 1.089 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.7895, allocations: 9.469 kB / 1.089 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.7897, allocations: 28.64 kB / 1.089 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.79, allocations: 246.7 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.7901, allocations: 13.94 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.7901, allocations: 11.45 kB / 1.089 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.7904, allocations: 118 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.7904, allocations: 0 / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.7904, allocations: 5.625 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.7904, allocations: 2.594 kB / 1.089 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.7905, allocations: 53.36 kB / 1.089 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009983/0.7915, allocations: 0.5402 MB / 1.09 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.7917, allocations: 99.28 kB / 1.09 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.7918, allocations: 41.97 kB / 1.09 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.7918, allocations: 5.156 kB / 1.09 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.7921, allocations: 123.8 kB / 1.09 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.7921, allocations: 4 kB / 1.09 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003928/0.7925, allocations: 159.9 kB / 1.09 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.7926, allocations: 81.28 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.7928, allocations: 199.7 kB / 1.09 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.7929, allocations: 34.47 kB / 1.09 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.793, allocations: 122.4 kB / 1.09 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.793, allocations: 34.88 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.7931, allocations: 69.09 kB / 1.091 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.7933, allocations: 328.1 kB / 1.091 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.7934, allocations: 31.05 kB / 1.091 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.7937, allocations: 138.4 kB / 1.091 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.7938, allocations: 116.3 kB / 1.091 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7938, allocations: 1.562 kB / 1.091 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002596/0.7941, allocations: 160.3 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.7941, allocations: 8.719 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.7941, allocations: 2.156 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.7942, allocations: 3.188 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.7943, allocations: 18.2 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.7943, allocations: 7.469 kB / 1.091 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.7945, allocations: 29.3 kB / 1.091 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.7945, allocations: 5.094 kB / 1.091 GB, free: 12.03 MB / 0.8419 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.0001493/0.7947, allocations: 144.7 kB / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.7947, allocations: 16.67 kB / 1.091 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.7948, allocations: 19.38 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7948, allocations: 3.672 kB / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.7948, allocations: 0 / 1.091 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7948, allocations: 1.859 kB / 1.092 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006628/0.7955, allocations: 471.4 kB / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7955, allocations: 0 / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.798e-05/0.7955, allocations: 9.062 kB / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.7955, allocations: 1.156 kB / 1.092 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.7956, allocations: 10.64 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.7956, allocations: 5.484 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.7956, allocations: 1.281 kB / 1.092 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.7958, allocations: 241.4 kB / 1.092 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.155e-05/0.7959, allocations: 91.27 kB / 1.092 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.7959, allocations: 1.219 kB / 1.092 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.7961, allocations: 18.88 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.7962, allocations: 23.5 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.7963, allocations: 7.828 kB / 1.092 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001501/0.7964, allocations: 149 kB / 1.092 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7964, allocations: 0 / 1.092 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003256/0.7968, allocations: 44.09 kB / 1.093 GB, free: 11.09 MB / 0.8419 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.000397/0.7972, allocations: 173.7 kB / 1.093 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.7974, allocations: 104.8 kB / 1.093 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7974, allocations: 0 / 1.093 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.7975, allocations: 53.8 kB / 1.093 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.798, allocations: 57.09 kB / 1.093 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.7987, allocations: 368.1 kB / 1.093 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.799, allocations: 0.7231 MB / 1.094 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.7991, allocations: 23.78 kB / 1.094 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.7991, allocations: 4 kB / 1.094 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.006539/0.8057, allocations: 3.191 MB / 1.097 GB, free: 9.57 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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