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.001153/0.001153, 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.001106/0.001106, allocations: 194.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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.77 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3023, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003016/0.3054, allocations: 1.732 MB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3067, allocations: 0.9085 MB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.3068, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.307, allocations: 23.73 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.3073, allocations: 115.4 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.3076, allocations: 143.7 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.3079, allocations: 247.3 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.308, allocations: 49.62 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.3081, allocations: 107.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01002/0.3182, allocations: 1.649 MB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.3182, allocations: 16 kB / 1.073 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.3183, allocations: 39.98 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.3184, allocations: 39.83 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3185, allocations: 91.52 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.3188, allocations: 215.4 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3188, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3188, allocations: 0 / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.3189, allocations: 0 / 1.073 GB, free: 5.461 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.0007286/0.3196, allocations: 0.5605 MB / 1.074 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3196, allocations: 12.03 kB / 1.074 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.916e-05/0.3197, allocations: 20.66 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.32, allocations: 243.5 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.32, allocations: 11.98 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.32, allocations: 16 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3202, allocations: 123.2 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.3202, allocations: 0 / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3202, allocations: 4 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3203, allocations: 0 / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3204, allocations: 51.97 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.3212, allocations: 0.5435 MB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3213, allocations: 93.27 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.478e-05/0.3214, allocations: 41.77 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3215, allocations: 4 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.3217, allocations: 135.5 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.3217, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0003092/0.322, allocations: 153 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3221, allocations: 93.05 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.3223, allocations: 204.3 kB / 1.076 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.3223, allocations: 33.7 kB / 1.076 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.3224, allocations: 116.5 kB / 1.076 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3224, allocations: 39.53 kB / 1.076 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.3225, allocations: 53.69 kB / 1.076 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3226, allocations: 330.8 kB / 1.076 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.3227, allocations: 43.92 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.3229, allocations: 134.3 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.3231, allocations: 117.9 kB / 1.077 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3231, allocations: 3.984 kB / 1.077 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002401/0.3233, allocations: 153.4 kB / 1.077 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3234, allocations: 8 kB / 1.077 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3234, allocations: 8.094 kB / 1.077 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3234, allocations: 4 kB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.3235, allocations: 19.92 kB / 1.077 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3235, allocations: 7.984 kB / 1.077 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.3237, allocations: 27.83 kB / 1.077 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3237, allocations: 4 kB / 1.077 GB, free: 1.77 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.0001231/0.3239, allocations: 147.5 kB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3239, allocations: 15.81 kB / 1.077 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.324, allocations: 21.53 kB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.324, allocations: 0 / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.324, allocations: 3.984 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.324, allocations: 4 kB / 1.077 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.3245, allocations: 465.3 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3246, allocations: 0 / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.3246, allocations: 7.984 kB / 1.077 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3246, allocations: 8 kB / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3246, allocations: 0 / 1.077 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3246, allocations: 3.938 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3246, allocations: 4 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.3248, allocations: 228 kB / 1.078 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3249, allocations: 100.9 kB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.3249, allocations: 0 / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.3251, allocations: 31.91 kB / 1.078 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3252, allocations: 11.98 kB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3252, allocations: 8 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001167/0.3253, allocations: 139.2 kB / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3253, allocations: 0 / 1.078 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003195/0.3256, allocations: 47.98 kB / 1.078 GB, free: 456 kB / 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.0002812/0.3259, allocations: 177 kB / 1.078 GB, free: 292 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3262, allocations: 107.8 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3262, allocations: 0 / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.3263, allocations: 51.92 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.3267, allocations: 67.58 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.3272, allocations: 308.6 kB / 1.079 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.3275, allocations: 0.7242 MB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.19e-05/0.3276, allocations: 25.52 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.3276, allocations: 19.44 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3276, allocations: 0 / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of Templates: time 0.006764/0.3344, allocations: 3.66 MB / 1.083 GB, free: 11.31 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