Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001587/0.001587, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001654/0.001654, allocations: 199 kB / 16.91 MB, free: 6.188 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 65.83 kB / 0.8127 GB, free: 32.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2846, allocations: 140.4 MB / 0.9498 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004164/0.2888, allocations: 1.893 MB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.2908, allocations: 0.9359 MB / 0.9525 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.291, allocations: 3.938 kB / 0.9525 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.2912, allocations: 23.86 kB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004974/0.2918, allocations: 95.66 kB / 0.9526 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.2923, allocations: 135.8 kB / 0.9528 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.2927, allocations: 247.3 kB / 0.953 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.2928, allocations: 45.55 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.293, allocations: 103.7 kB / 0.9531 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0255/0.3185, allocations: 1.694 MB / 0.9548 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.3187, allocations: 20 kB / 0.9548 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.3189, allocations: 39.98 kB / 0.9549 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.319, allocations: 47.77 kB / 0.9549 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3191, allocations: 91.5 kB / 0.955 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.3194, allocations: 143.8 kB / 0.9551 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.3195, allocations: 4 kB / 0.9551 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3195, allocations: 0 / 0.9551 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3195, allocations: 0 / 0.9551 GB, free: 4.176 MB / 0.7325 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.0009568/0.3204, allocations: 0.5489 MB / 0.9557 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3205, allocations: 8.031 kB / 0.9557 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.3206, allocations: 24.69 kB / 0.9557 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.3209, allocations: 251.4 kB / 0.9559 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.3209, allocations: 4 kB / 0.9559 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.881e-05/0.321, allocations: 16 kB / 0.956 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.3212, allocations: 89.66 kB / 0.956 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3212, allocations: 4 kB / 0.956 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.3212, allocations: 11.97 kB / 0.9561 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3213, allocations: 4 kB / 0.9561 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.3214, allocations: 53.45 kB / 0.9561 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008248/0.3222, allocations: 452.5 kB / 0.9565 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.3226, allocations: 138.7 kB / 0.9567 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.3227, allocations: 36.86 kB / 0.9567 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3228, allocations: 0 / 0.9567 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.323, allocations: 126.1 kB / 0.9568 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.023e-06/0.323, allocations: 0 / 0.9568 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003526/0.3233, allocations: 161.5 kB / 0.957 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3234, allocations: 59.34 kB / 0.957 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.3236, allocations: 202.5 kB / 0.9572 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3236, allocations: 33.7 kB / 0.9573 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.886e-05/0.3237, allocations: 116.5 kB / 0.9574 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.3238, allocations: 39.53 kB / 0.9574 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.524e-05/0.3239, allocations: 57.69 kB / 0.9575 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.324, allocations: 326.8 kB / 0.9578 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.3241, allocations: 35.98 kB / 0.9578 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.3243, allocations: 133.4 kB / 0.9579 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.3246, allocations: 102.1 kB / 0.958 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.3247, allocations: 4 kB / 0.958 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002585/0.3249, allocations: 161.2 kB / 0.9582 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.325, allocations: 10.34 kB / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.325, allocations: 0 / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.325, allocations: 0 / 0.9582 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.3251, allocations: 15.94 kB / 0.9582 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3251, allocations: 7.984 kB / 0.9582 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3253, allocations: 27.83 kB / 0.9583 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3253, allocations: 12.06 kB / 0.9583 GB, free: 0.6797 MB / 0.7325 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.0001342/0.3255, allocations: 137.5 kB / 0.9584 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3255, allocations: 15.81 kB / 0.9584 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.3256, allocations: 21.86 kB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3256, allocations: 4 kB / 0.9584 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3256, allocations: 0 / 0.9584 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3256, allocations: 0 / 0.9584 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.3262, allocations: 498.1 kB / 0.9589 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3263, allocations: 0 / 0.9589 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.88e-05/0.3263, allocations: 11.94 kB / 0.9589 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3263, allocations: 0 / 0.9589 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.3263, allocations: 48 / 0.9589 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3263, allocations: 7.938 kB / 0.9589 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3263, allocations: 3.984 kB / 0.9589 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.3266, allocations: 238.1 kB / 0.9592 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.3266, allocations: 92.92 kB / 0.9593 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.3267, allocations: 3.984 kB / 0.9593 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.3268, allocations: 19.92 kB / 0.9593 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.306e-05/0.3269, allocations: 19.97 kB / 0.9593 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.3269, allocations: 4 kB / 0.9593 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001195/0.327, allocations: 140.5 kB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3271, allocations: 0 / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003212/0.3274, allocations: 55.94 kB / 0.9595 GB, free: 15.34 MB / 0.7481 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.000357/0.3277, allocations: 167.3 kB / 0.9596 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.328, allocations: 107.8 kB / 0.9597 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.328, allocations: 4 kB / 0.9597 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/0.3281, allocations: 47.98 kB / 0.9598 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.3286, allocations: 69.5 kB / 0.9599 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.3293, allocations: 380.9 kB / 0.9602 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3296, allocations: 0.7242 MB / 0.9609 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.3297, allocations: 23.42 kB / 0.961 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3297, allocations: 0 / 0.961 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of Templates: time 0.006079/0.3358, allocations: 3.208 MB / 0.9641 GB, free: 10.6 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches