Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002034/0.002034, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.03 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2934, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.002958/0.2964, allocations: 1.731 MB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.2978, allocations: 0.9008 MB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.2979, allocations: 3.938 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.2981, allocations: 31.72 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.2984, allocations: 111.5 kB / 1.071 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003274/0.2987, allocations: 151.2 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.299, allocations: 251.4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.2991, allocations: 37.64 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2992, allocations: 111.7 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01175/0.311, allocations: 2.011 MB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.555e-05/0.3111, allocations: 16 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.3112, allocations: 32 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.59e-05/0.3113, allocations: 51.81 kB / 1.074 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3114, allocations: 91.56 kB / 1.074 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.3118, allocations: 211.4 kB / 1.074 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3118, allocations: 3.938 kB / 1.074 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3119, allocations: 4 kB / 1.074 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3119, allocations: 0 / 1.074 GB, free: 5.238 MB / 0.8262 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.0008309/0.3127, allocations: 0.545 MB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3128, allocations: 12.03 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.264e-05/0.3129, allocations: 24.66 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3132, allocations: 247.5 kB / 1.075 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.3132, allocations: 8 kB / 1.075 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3132, allocations: 16 kB / 1.075 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3134, allocations: 91.72 kB / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.3134, allocations: 0 / 1.075 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.3135, allocations: 3.984 kB / 1.075 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3135, allocations: 4 kB / 1.075 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3136, allocations: 63.86 kB / 1.075 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007795/0.3144, allocations: 456.4 kB / 1.075 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.3148, allocations: 142.7 kB / 1.075 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.91e-05/0.3149, allocations: 32.8 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.3149, allocations: 0 / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.3152, allocations: 123.2 kB / 1.076 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.3152, allocations: 0 / 1.076 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003218/0.3155, allocations: 161.4 kB / 1.076 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3156, allocations: 63.34 kB / 1.076 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3158, allocations: 200.3 kB / 1.076 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.3158, allocations: 33.7 kB / 1.076 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.3159, allocations: 116.5 kB / 1.076 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3159, allocations: 39.53 kB / 1.076 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.316, allocations: 57.69 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.3161, allocations: 330.8 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.3162, allocations: 35.98 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.3165, allocations: 132.4 kB / 1.077 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.3166, allocations: 106.6 kB / 1.077 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.3166, allocations: 0 / 1.077 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002486/0.3169, allocations: 149.3 kB / 1.077 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3169, allocations: 4.125 kB / 1.077 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3169, allocations: 11.94 kB / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3169, allocations: 0 / 1.077 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.317, allocations: 16 kB / 1.077 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.317, allocations: 7.984 kB / 1.077 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002164/0.3172, allocations: 19.92 kB / 1.077 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3173, allocations: 8 kB / 1.077 GB, free: 1.754 MB / 0.8262 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.0001222/0.3174, allocations: 137 kB / 1.077 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.3174, allocations: 23.72 kB / 1.077 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.3175, allocations: 29.89 kB / 1.077 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3175, allocations: 4 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3175, allocations: 0 / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3175, allocations: 0 / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.3181, allocations: 499.9 kB / 1.078 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3182, allocations: 0 / 1.078 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.3182, allocations: 11.94 kB / 1.078 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3182, allocations: 0 / 1.078 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3182, allocations: 4 kB / 1.078 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.257e-06/0.3182, allocations: 7.938 kB / 1.078 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3182, allocations: 0 / 1.078 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.3185, allocations: 227.3 kB / 1.078 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.3185, allocations: 88.92 kB / 1.078 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3185, allocations: 7.984 kB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.3187, allocations: 19.92 kB / 1.078 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.3187, allocations: 19.97 kB / 1.078 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3188, allocations: 4 kB / 1.078 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3189, allocations: 143.2 kB / 1.078 GB, free: 464 kB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3189, allocations: 0 / 1.078 GB, free: 464 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003091/0.3192, allocations: 47.94 kB / 1.078 GB, free: 416 kB / 0.8262 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.0003148/0.3195, allocations: 173.6 kB / 1.078 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3198, allocations: 115.8 kB / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3198, allocations: 0 / 1.078 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.3199, allocations: 55.92 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.3203, allocations: 65.03 kB / 1.079 GB, free: 32 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.3208, allocations: 291.6 kB / 1.079 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.3211, allocations: 0.7281 MB / 1.08 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.86e-05/0.3212, allocations: 21.53 kB / 1.08 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.3212, allocations: 23.44 kB / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.3212, allocations: 0 / 1.08 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.007518/0.3288, allocations: 3.716 MB / 1.083 GB, free: 11.24 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches