Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 115.2 kB / 16.37 MB, free: 6.016 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.0009445/0.0009445, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.01 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.99/1.99, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 65.45 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2136, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003079/0.2167, allocations: 1.742 MB / 0.9528 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2181, allocations: 0.9007 MB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.2182, allocations: 8 kB / 0.9537 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2184, allocations: 23.73 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.2187, allocations: 123.4 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.219, allocations: 155.7 kB / 0.954 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.2193, allocations: 235.3 kB / 0.9542 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.2194, allocations: 53.58 kB / 0.9543 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2196, allocations: 107.7 kB / 0.9544 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/0.2304, allocations: 1.995 MB / 0.9563 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.2304, allocations: 16 kB / 0.9563 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.304e-05/0.2305, allocations: 39.98 kB / 0.9564 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.2306, allocations: 35.91 kB / 0.9564 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2307, allocations: 99.48 kB / 0.9565 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.231, allocations: 211.3 kB / 0.9567 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.231, allocations: 0 / 0.9567 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.231, allocations: 4 kB / 0.9567 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.231, allocations: 0 / 0.9567 GB, free: 2.887 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007666/0.2318, allocations: 0.5566 MB / 0.9572 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2319, allocations: 8.031 kB / 0.9573 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.2319, allocations: 20.75 kB / 0.9573 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2322, allocations: 247.4 kB / 0.9575 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2322, allocations: 12 kB / 0.9575 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.2323, allocations: 16 kB / 0.9575 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2325, allocations: 113.2 kB / 0.9576 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2325, allocations: 0 / 0.9576 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.2325, allocations: 0 / 0.9576 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2325, allocations: 7.938 kB / 0.9577 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2326, allocations: 55.95 kB / 0.9577 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.2334, allocations: 0.5395 MB / 0.9582 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.2335, allocations: 89.33 kB / 0.9583 GB, free: 1.051 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.2336, allocations: 53.7 kB / 0.9584 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.2336, allocations: 0 / 0.9584 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.2339, allocations: 124.9 kB / 0.9585 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.2339, allocations: 0 / 0.9585 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003063/0.2342, allocations: 173.5 kB / 0.9587 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2342, allocations: 81.11 kB / 0.9587 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2344, allocations: 202.5 kB / 0.9589 GB, free: 376 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2345, allocations: 33.7 kB / 0.959 GB, free: 336 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.2345, allocations: 124.4 kB / 0.9591 GB, free: 204 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.2346, allocations: 31.64 kB / 0.9591 GB, free: 172 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.2347, allocations: 61.61 kB / 0.9592 GB, free: 104 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2348, allocations: 330.8 kB / 0.9595 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.2348, allocations: 32.02 kB / 0.9595 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.2351, allocations: 139.4 kB / 0.9596 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2352, allocations: 113.9 kB / 0.9598 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2352, allocations: 3.938 kB / 0.9598 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002325/0.2355, allocations: 157.3 kB / 0.9599 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2355, allocations: 4.156 kB / 0.9599 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2355, allocations: 8 kB / 0.9599 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2355, allocations: 0 / 0.9599 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.2356, allocations: 19.92 kB / 0.9599 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.2356, allocations: 4 kB / 0.9599 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.2358, allocations: 31.83 kB / 0.96 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2358, allocations: 12 kB / 0.96 GB, free: 15.2 MB / 0.7481 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.0001089/0.2359, allocations: 139.5 kB / 0.9601 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.236, allocations: 15.81 kB / 0.9601 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.236, allocations: 29.52 kB / 0.9602 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.236, allocations: 4 kB / 0.9602 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.236, allocations: 0 / 0.9602 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2361, allocations: 0 / 0.9602 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.2366, allocations: 466.2 kB / 0.9606 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2366, allocations: 0 / 0.9606 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.2366, allocations: 8 kB / 0.9606 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2366, allocations: 0 / 0.9606 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2366, allocations: 4 kB / 0.9606 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.2366, allocations: 11.92 kB / 0.9606 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2367, allocations: 0 / 0.9606 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.2369, allocations: 228.1 kB / 0.9608 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.2369, allocations: 96.94 kB / 0.9609 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.2369, allocations: 7.984 kB / 0.9609 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2371, allocations: 19.92 kB / 0.961 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.2371, allocations: 15.98 kB / 0.961 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.2372, allocations: 11.98 kB / 0.961 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001101/0.2373, allocations: 140.5 kB / 0.9611 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2373, allocations: 0 / 0.9611 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002889/0.2376, allocations: 44 kB / 0.9612 GB, free: 13.88 MB / 0.7481 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.0002796/0.2379, allocations: 178 kB / 0.9613 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.2381, allocations: 107.8 kB / 0.9614 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2381, allocations: 0 / 0.9614 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.2382, allocations: 51.92 kB / 0.9615 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2386, allocations: 51.45 kB / 0.9615 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.239, allocations: 294.7 kB / 0.9618 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2393, allocations: 0.7281 MB / 0.9625 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.308e-05/0.2394, allocations: 29.55 kB / 0.9626 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.2394, allocations: 27.42 kB / 0.9626 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of SimCode: time 2.71e-07/0.2394, allocations: 0 / 0.9626 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.006297/0.2457, allocations: 3.65 MB / 0.9661 GB, free: 8.789 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches