Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009413/0.0009413, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008674/0.008675, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.7363 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.0005008, allocations: 9.75 kB / 0.9027 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3666, allocations: 159.6 MB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002186/0.3688, allocations: 1.541 MB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3704, allocations: 0.9319 MB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.3705, allocations: 0 / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.3707, allocations: 31.72 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003095/0.371, allocations: 91.66 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003643/0.3714, allocations: 147.7 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000275/0.3717, allocations: 223.4 kB / 1.061 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3719, allocations: 41.66 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.372, allocations: 99.66 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04937/0.4214, allocations: 3.27 MB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.259e-05/0.4215, allocations: 8 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.4216, allocations: 35.98 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.4217, allocations: 31.89 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.4219, allocations: 101.2 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.4222, allocations: 199.3 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4222, allocations: 4 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4222, allocations: 0 / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4222, allocations: 0 / 1.065 GB, free: 15.09 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007843/0.423, allocations: 0.5216 MB / 1.066 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.423, allocations: 11.97 kB / 1.066 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.4231, allocations: 24.73 kB / 1.066 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.4234, allocations: 243.5 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.4235, allocations: 19.94 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.4235, allocations: 11.98 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.4237, allocations: 107.4 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4238, allocations: 3.984 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4238, allocations: 7.984 kB / 1.066 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4238, allocations: 4 kB / 1.066 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4239, allocations: 47.97 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.4248, allocations: 0.5513 MB / 1.067 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.425, allocations: 101 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.393e-05/0.425, allocations: 41.77 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4251, allocations: 7.984 kB / 1.067 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.4253, allocations: 125.1 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.4253, allocations: 0 / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003751/0.4256, allocations: 163.9 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.4257, allocations: 85.09 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.4259, allocations: 196.3 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.426, allocations: 37.69 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.4261, allocations: 124.6 kB / 1.068 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.911e-05/0.4261, allocations: 31.55 kB / 1.068 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.4262, allocations: 29.7 kB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4263, allocations: 330.8 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.4264, allocations: 31.98 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.4266, allocations: 142.5 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.4268, allocations: 109.8 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4268, allocations: 4 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002678/0.4271, allocations: 163.8 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4271, allocations: 4 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4271, allocations: 4 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4271, allocations: 4 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.332e-05/0.4272, allocations: 19.92 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.4273, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.4275, allocations: 35.98 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4275, allocations: 12 kB / 1.068 GB, free: 11.45 MB / 0.8262 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.0001378/0.4277, allocations: 139.5 kB / 1.069 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.4277, allocations: 19.72 kB / 1.069 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.4278, allocations: 17.53 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4278, allocations: 4 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4278, allocations: 3.938 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4278, allocations: 7.984 kB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.4284, allocations: 466.3 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4284, allocations: 0 / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.4285, allocations: 19.91 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4285, allocations: 4 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.4285, allocations: 0 / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4285, allocations: 7.938 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4285, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.4287, allocations: 226.9 kB / 1.069 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.4288, allocations: 92.86 kB / 1.069 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4288, allocations: 11.98 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.429, allocations: 19.92 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.4291, allocations: 23.97 kB / 1.069 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.4291, allocations: 4 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001265/0.4292, allocations: 148.2 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4292, allocations: 3.938 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003176/0.4296, allocations: 44 kB / 1.07 GB, free: 10.11 MB / 0.8262 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.0003624/0.4299, allocations: 170.2 kB / 1.07 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.4302, allocations: 105.1 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4302, allocations: 0 / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.67e-05/0.4303, allocations: 51.97 kB / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.4307, allocations: 50.05 kB / 1.07 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.4314, allocations: 363.6 kB / 1.07 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.4317, allocations: 0.7283 MB / 1.071 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.4318, allocations: 25.53 kB / 1.071 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.4319, allocations: 19.44 kB / 1.071 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.4319, allocations: 4 kB / 1.071 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of Templates: time 0.008646/0.4405, allocations: 3.415 MB / 1.074 GB, free: 5.195 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches