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 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.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.001158/0.001158, allocations: 108 kB / 15.61 MB, free: 128 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.001361/0.001361, allocations: 197.6 kB / 16.53 MB, free: 6.668 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.903/2.903, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.83 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3202, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.00295/0.3232, allocations: 1.753 MB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.3247, allocations: 0.8968 MB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.3248, allocations: 4 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.325, allocations: 27.7 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.3253, allocations: 115.4 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.3257, allocations: 155.1 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.3259, allocations: 235.5 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.3261, allocations: 53.56 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3262, allocations: 111.7 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009962/0.3362, allocations: 1.651 MB / 1.073 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.282e-05/0.3363, allocations: 20 kB / 1.073 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3364, allocations: 35.94 kB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.3365, allocations: 39.89 kB / 1.073 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3367, allocations: 95.5 kB / 1.073 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004073/0.3371, allocations: 211.4 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3371, allocations: 0 / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3371, allocations: 4 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.056e-06/0.3372, allocations: 0 / 1.073 GB, free: 5.531 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.0008908/0.3381, allocations: 0.5527 MB / 1.074 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3381, allocations: 8.031 kB / 1.074 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.3382, allocations: 28.64 kB / 1.074 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3385, allocations: 239.6 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3385, allocations: 12 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.3386, allocations: 12 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3388, allocations: 124.7 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3388, allocations: 0 / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3388, allocations: 7.984 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3388, allocations: 4 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.339, allocations: 47.97 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008869/0.3398, allocations: 0.5318 MB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.34, allocations: 105.1 kB / 1.075 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.3401, allocations: 41.77 kB / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3401, allocations: 0 / 1.075 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.3404, allocations: 129.1 kB / 1.075 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3404, allocations: 8 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003498/0.3408, allocations: 160.9 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.3408, allocations: 85.09 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.341, allocations: 196.4 kB / 1.076 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.3411, allocations: 33.7 kB / 1.076 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.3412, allocations: 128.5 kB / 1.076 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.3412, allocations: 27.56 kB / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.381e-05/0.3413, allocations: 69.78 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3414, allocations: 330.8 kB / 1.076 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.3415, allocations: 27.98 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3417, allocations: 134.8 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3419, allocations: 117.9 kB / 1.076 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3419, allocations: 4 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002678/0.3422, allocations: 157.3 kB / 1.077 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3422, allocations: 5.406 kB / 1.077 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3422, allocations: 4 kB / 1.077 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3422, allocations: 0 / 1.077 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.629e-05/0.3424, allocations: 19.88 kB / 1.077 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3424, allocations: 7.984 kB / 1.077 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.3426, allocations: 31.77 kB / 1.077 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3426, allocations: 8.094 kB / 1.077 GB, free: 1.855 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.0001321/0.3428, allocations: 147.6 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3428, allocations: 19.8 kB / 1.077 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.3429, allocations: 21.53 kB / 1.077 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3429, allocations: 4 kB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3429, allocations: 0 / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3429, allocations: 0 / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006012/0.3435, allocations: 476.9 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3435, allocations: 0 / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.3436, allocations: 4 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3436, allocations: 7.922 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3436, allocations: 8 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3436, allocations: 3.938 kB / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3436, allocations: 0 / 1.077 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3438, allocations: 232.1 kB / 1.078 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.3439, allocations: 92.86 kB / 1.078 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3439, allocations: 4 kB / 1.078 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.3441, allocations: 15.92 kB / 1.078 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/0.3442, allocations: 19.97 kB / 1.078 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.3442, allocations: 8 kB / 1.078 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001301/0.3443, allocations: 140.5 kB / 1.078 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3443, allocations: 4 kB / 1.078 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004108/0.3448, allocations: 36 kB / 1.078 GB, free: 0.5312 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.000345/0.3451, allocations: 178.4 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002721/0.3454, allocations: 111.8 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3454, allocations: 0 / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3455, allocations: 59.86 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.346, allocations: 58.08 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.3466, allocations: 308.4 kB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3469, allocations: 0.7203 MB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.661e-05/0.347, allocations: 21.55 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.3471, allocations: 27.42 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3471, allocations: 0 / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.007773/0.3548, allocations: 3.668 MB / 1.083 GB, free: 11.39 MB / 0.8419 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