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.001501/0.001501, allocations: 110.1 kB / 16.41 MB, free: 6.492 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.001737/0.001737, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 469.4 MB / 0.7428 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 59.91 kB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.021, allocations: 159.1 MB / 1.221 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003779/1.025, allocations: 1.751 MB / 1.223 GB, free: 0.6406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001904/1.027, allocations: 0.8861 MB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/1.027, allocations: 4 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002435/1.028, allocations: 27.7 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005311/1.028, allocations: 131.3 kB / 1.224 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/1.029, allocations: 151.1 kB / 1.224 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004248/1.029, allocations: 231.5 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/1.029, allocations: 37.66 kB / 1.224 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/1.029, allocations: 115.6 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/1.04, allocations: 1.694 MB / 1.226 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.443e-05/1.04, allocations: 24 kB / 1.226 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/1.04, allocations: 43.92 kB / 1.226 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/1.04, allocations: 43.83 kB / 1.226 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/1.04, allocations: 91.56 kB / 1.226 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004586/1.04, allocations: 217.1 kB / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/1.041, allocations: 0 / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/1.041, allocations: 0 / 1.226 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.041, allocations: 0 / 1.226 GB, free: 13.42 MB / 0.9512 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.001056/1.042, allocations: 0.5527 MB / 1.227 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.042, allocations: 8.625 kB / 1.227 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/1.042, allocations: 24.75 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/1.042, allocations: 248.6 kB / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.042, allocations: 12 kB / 1.227 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/1.042, allocations: 12 kB / 1.227 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/1.042, allocations: 91.55 kB / 1.227 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.042, allocations: 3.984 kB / 1.227 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/1.042, allocations: 0 / 1.227 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.042, allocations: 8 kB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/1.043, allocations: 51.97 kB / 1.227 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/1.044, allocations: 460.3 kB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/1.044, allocations: 146.6 kB / 1.228 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.441e-05/1.044, allocations: 28.86 kB / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/1.044, allocations: 0 / 1.228 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/1.044, allocations: 115.3 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 3.186e-06/1.044, allocations: 3.984 kB / 1.228 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003765/1.045, allocations: 172.1 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/1.045, allocations: 59.41 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/1.045, allocations: 193 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/1.045, allocations: 33.7 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/1.045, allocations: 124.4 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/1.045, allocations: 31.61 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/1.045, allocations: 57.69 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.046, allocations: 330.8 kB / 1.229 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/1.046, allocations: 39.92 kB / 1.229 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/1.046, allocations: 127.5 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/1.046, allocations: 100.2 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/1.046, allocations: 0 / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003021/1.046, allocations: 155.6 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.046, allocations: 8 kB / 1.229 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.046, allocations: 4.125 kB / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/1.046, allocations: 0 / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.304e-05/1.047, allocations: 19.94 kB / 1.229 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.047, allocations: 7.984 kB / 1.229 GB, free: 9.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/1.047, allocations: 23.83 kB / 1.229 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/1.047, allocations: 8 kB / 1.229 GB, free: 9.93 MB / 0.9512 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.0001776/1.047, allocations: 136 kB / 1.229 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/1.047, allocations: 15.81 kB / 1.229 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/1.047, allocations: 29.86 kB / 1.229 GB, free: 9.738 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.047, allocations: 4 kB / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.047, allocations: 0 / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/1.047, allocations: 0 / 1.229 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/1.048, allocations: 0.4902 MB / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.048, allocations: 0 / 1.23 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/1.048, allocations: 4 kB / 1.23 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.048, allocations: 4 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/1.048, allocations: 8 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/1.048, allocations: 7.938 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.048, allocations: 0 / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/1.048, allocations: 227.3 kB / 1.23 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/1.048, allocations: 92.86 kB / 1.23 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/1.048, allocations: 7.984 kB / 1.23 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.049, allocations: 15.92 kB / 1.23 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/1.049, allocations: 23.97 kB / 1.23 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/1.049, allocations: 4 kB / 1.23 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001476/1.049, allocations: 148.2 kB / 1.23 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 0 / 1.23 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003345/1.049, allocations: 47.91 kB / 1.23 GB, free: 8.574 MB / 0.9512 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.0004485/1.05, allocations: 175.4 kB / 1.231 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002666/1.05, allocations: 111.8 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.05, allocations: 4.25 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/1.05, allocations: 54.59 kB / 1.231 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/1.051, allocations: 60.78 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/1.051, allocations: 329.2 kB / 1.231 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/1.052, allocations: 0.7281 MB / 1.232 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/1.052, allocations: 23.42 kB / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of SimCode: time 2e-07/1.052, allocations: 0 / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of Templates: time 0.007475/1.059, allocations: 3.228 MB / 1.235 GB, free: 3.863 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