Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.001505/0.001505, allocations: 105.2 kB / 16.41 MB, free: 6.469 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.001811/0.001811, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 64.12 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9767/0.9782, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003359/0.9816, allocations: 1.739 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.9833, allocations: 0.893 MB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.9835, allocations: 7.938 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.9837, allocations: 23.73 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.9842, allocations: 123.4 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004189/0.9846, allocations: 158.8 kB / 1.211 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.985, allocations: 239.4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.9851, allocations: 37.66 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.9853, allocations: 115.6 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.9956, allocations: 1.692 MB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.9957, allocations: 20 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.9959, allocations: 39.98 kB / 1.213 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.996, allocations: 47.77 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.9961, allocations: 87.58 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.9966, allocations: 213.2 kB / 1.214 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9966, allocations: 7.938 kB / 1.214 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9966, allocations: 0 / 1.214 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.9966, allocations: 0 / 1.214 GB, free: 8.656 MB / 0.9356 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.0009339/0.9975, allocations: 0.5488 MB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.9976, allocations: 8.031 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.9977, allocations: 28.66 kB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.998, allocations: 239.6 kB / 1.214 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.998, allocations: 15.98 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.9981, allocations: 12 kB / 1.215 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.9983, allocations: 91.66 kB / 1.215 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.9983, allocations: 0 / 1.215 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.9983, allocations: 4 kB / 1.215 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.9983, allocations: 4 kB / 1.215 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.9985, allocations: 51.97 kB / 1.215 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000882/0.9993, allocations: 468.2 kB / 1.215 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/0.9998, allocations: 142.7 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.491e-05/0.9999, allocations: 36.78 kB / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.9999, allocations: 0 / 1.215 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/1, allocations: 115.2 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/1, allocations: 0 / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003685/1.001, allocations: 168.6 kB / 1.216 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/1.001, allocations: 59.41 kB / 1.216 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/1.001, allocations: 196.9 kB / 1.216 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/1.001, allocations: 37.69 kB / 1.216 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/1.001, allocations: 120.4 kB / 1.216 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/1.001, allocations: 27.61 kB / 1.216 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.001, allocations: 65.61 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.001, allocations: 330.8 kB / 1.216 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.441e-05/1.002, allocations: 35.98 kB / 1.216 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/1.002, allocations: 123.6 kB / 1.216 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/1.002, allocations: 106.3 kB / 1.217 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.002, allocations: 0 / 1.217 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002745/1.002, allocations: 153.3 kB / 1.217 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.002, allocations: 4 kB / 1.217 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.002, allocations: 4 kB / 1.217 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.002, allocations: 0 / 1.217 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/1.002, allocations: 19.92 kB / 1.217 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.002, allocations: 4.125 kB / 1.217 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/1.003, allocations: 27.92 kB / 1.217 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/1.003, allocations: 12 kB / 1.217 GB, free: 5.172 MB / 0.9356 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.0001489/1.003, allocations: 135.5 kB / 1.217 GB, free: 5.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/1.003, allocations: 19.72 kB / 1.217 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/1.003, allocations: 25.86 kB / 1.217 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/1.003, allocations: 4 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.003, allocations: 0 / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.003, allocations: 7.938 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007282/1.004, allocations: 498 kB / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/1.004, allocations: 0 / 1.217 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/1.004, allocations: 7.984 kB / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.004, allocations: 0 / 1.217 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/1.004, allocations: 4 kB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.004, allocations: 3.938 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.004, allocations: 4 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/1.004, allocations: 223.3 kB / 1.218 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/1.004, allocations: 96.86 kB / 1.218 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/1.004, allocations: 0 / 1.218 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/1.004, allocations: 27.8 kB / 1.218 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/1.004, allocations: 19.97 kB / 1.218 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/1.004, allocations: 7.984 kB / 1.218 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000141/1.005, allocations: 148.2 kB / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/1.005, allocations: 0 / 1.218 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003238/1.005, allocations: 43.98 kB / 1.218 GB, free: 3.82 MB / 0.9356 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.0003957/1.005, allocations: 165.4 kB / 1.218 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002814/1.006, allocations: 106.6 kB / 1.218 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.006, allocations: 4 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/1.006, allocations: 51.92 kB / 1.218 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/1.006, allocations: 66.52 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/1.007, allocations: 329.2 kB / 1.219 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.007, allocations: 0.7242 MB / 1.219 GB, free: 2.355 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/1.007, allocations: 27.42 kB / 1.219 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/1.007, allocations: 4 kB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of Templates: time 0.00617/1.014, allocations: 3.222 MB / 1.223 GB, free: 15.12 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches