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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001326/0.001326, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001384/0.001384, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.986/1.986, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.66 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002843/0.2292, allocations: 1.73 MB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.2305, allocations: 0.9085 MB / 0.9537 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.234e-05/0.2306, allocations: 3.938 kB / 0.9537 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.2307, allocations: 31.61 kB / 0.9537 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.2311, allocations: 119.4 kB / 0.9538 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.2314, allocations: 155.6 kB / 0.954 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000252/0.2316, allocations: 243.4 kB / 0.9542 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.2317, allocations: 33.58 kB / 0.9542 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.2319, allocations: 115.7 kB / 0.9544 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009354/0.2412, allocations: 1.698 MB / 0.956 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.085e-05/0.2413, allocations: 16 kB / 0.956 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2414, allocations: 43.98 kB / 0.9561 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.2415, allocations: 35.84 kB / 0.9561 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2416, allocations: 95.5 kB / 0.9562 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.2419, allocations: 219.3 kB / 0.9564 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2419, allocations: 0 / 0.9564 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.242, allocations: 0 / 0.9564 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.242, allocations: 0 / 0.9564 GB, free: 3.082 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.0007939/0.2428, allocations: 0.5488 MB / 0.9569 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2428, allocations: 12.03 kB / 0.957 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.798e-05/0.2429, allocations: 16.75 kB / 0.957 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2432, allocations: 251.4 kB / 0.9572 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.2432, allocations: 12 kB / 0.9572 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/0.2432, allocations: 19.97 kB / 0.9572 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2434, allocations: 91.89 kB / 0.9573 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2434, allocations: 0 / 0.9573 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2434, allocations: 0 / 0.9573 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2435, allocations: 4 kB / 0.9573 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.2436, allocations: 55.91 kB / 0.9574 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.2443, allocations: 452.5 kB / 0.9578 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.2447, allocations: 146.6 kB / 0.958 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.2448, allocations: 32.84 kB / 0.958 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2448, allocations: 3.984 kB / 0.958 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.245, allocations: 119.1 kB / 0.9581 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.245, allocations: 3.938 kB / 0.9581 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0003157/0.2453, allocations: 157.4 kB / 0.9583 GB, free: 1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.2454, allocations: 71.33 kB / 0.9583 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.2456, allocations: 194.5 kB / 0.9585 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2456, allocations: 33.7 kB / 0.9585 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/0.2457, allocations: 120.5 kB / 0.9587 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.2458, allocations: 39.55 kB / 0.9587 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.2459, allocations: 53.67 kB / 0.9587 GB, free: 460 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.246, allocations: 326.8 kB / 0.9591 GB, free: 124 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.232e-05/0.246, allocations: 35.98 kB / 0.9591 GB, free: 88 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.2463, allocations: 133.6 kB / 0.9592 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.2464, allocations: 104.2 kB / 0.9593 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2464, allocations: 0 / 0.9593 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002273/0.2466, allocations: 149.3 kB / 0.9595 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2467, allocations: 14.75 kB / 0.9595 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2467, allocations: 0 / 0.9595 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2467, allocations: 4 kB / 0.9595 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.2468, allocations: 15.98 kB / 0.9595 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2468, allocations: 4 kB / 0.9595 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.247, allocations: 27.95 kB / 0.9595 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.247, allocations: 8 kB / 0.9595 GB, free: 15.59 MB / 0.7481 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.0001152/0.2471, allocations: 139.5 kB / 0.9597 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.2471, allocations: 23.81 kB / 0.9597 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.535e-05/0.2472, allocations: 17.88 kB / 0.9597 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2472, allocations: 3.984 kB / 0.9597 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2472, allocations: 0 / 0.9597 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2472, allocations: 3.938 kB / 0.9597 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.2478, allocations: 497 kB / 0.9602 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2478, allocations: 48 / 0.9602 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.2479, allocations: 15.91 kB / 0.9602 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2479, allocations: 0 / 0.9602 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.2479, allocations: 4 kB / 0.9602 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2479, allocations: 7.938 kB / 0.9602 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2479, allocations: 0 / 0.9602 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.2481, allocations: 235.2 kB / 0.9604 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/0.2482, allocations: 88.92 kB / 0.9605 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.2482, allocations: 4 kB / 0.9605 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.2483, allocations: 15.92 kB / 0.9605 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.2484, allocations: 19.97 kB / 0.9606 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.2484, allocations: 8 kB / 0.9606 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001105/0.2485, allocations: 140.5 kB / 0.9607 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2485, allocations: 4 kB / 0.9607 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002829/0.2488, allocations: 51.92 kB / 0.9608 GB, free: 14.25 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.0002941/0.2491, allocations: 161.6 kB / 0.9609 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002044/0.2493, allocations: 99.91 kB / 0.961 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2493, allocations: 0 / 0.961 GB, free: 14 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.01e-05/0.2494, allocations: 54.73 kB / 0.9611 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.2498, allocations: 62.17 kB / 0.9611 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.2504, allocations: 315.2 kB / 0.9614 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.2507, allocations: 0.7203 MB / 0.9621 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.261e-05/0.2507, allocations: 33.52 kB / 0.9622 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.2508, allocations: 19.44 kB / 0.9622 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of SimCode: time 1.373e-06/0.2508, allocations: 0 / 0.9622 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of Templates: time 0.006902/0.2577, allocations: 3.713 MB / 0.9658 GB, free: 9.078 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 -s cvode -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