Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.977/0.977, allocations: 177.2 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.961/1.961, allocations: 377.9 MB / 0.6239 GB, free: 8.418 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.812 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.424e-05, allocations: 2.969 kB / 0.812 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.00248/0.002505, allocations: 1.781 MB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.00373, allocations: 0.9202 MB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.087e-05/0.003821, allocations: 7.938 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.004011, allocations: 23.73 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.004355, allocations: 124.1 kB / 0.8147 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.00464, allocations: 155.6 kB / 0.8149 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.004879, allocations: 256.4 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.004993, allocations: 33.72 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01412/0.01911, allocations: 5.38 MB / 0.8204 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.0193, allocations: 92.84 kB / 0.8205 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.01933, allocations: 12 kB / 0.8205 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.01943, allocations: 39.92 kB / 0.8206 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.01948, allocations: 43.08 kB / 0.8206 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.01955, allocations: 59.81 kB / 0.8207 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.01987, allocations: 179.4 kB / 0.8208 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.01988, allocations: 3.938 kB / 0.8208 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01988, allocations: 0 / 0.8208 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.01988, allocations: 0 / 0.8208 GB, free: 10.41 MB / 0.7761 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.0005778/0.02046, allocations: 0.5854 MB / 0.8214 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.0205, allocations: 9.969 kB / 0.8214 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.02056, allocations: 28.84 kB / 0.8214 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.02074, allocations: 180.9 kB / 0.8216 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.02076, allocations: 12.38 kB / 0.8216 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.02078, allocations: 11.94 kB / 0.8216 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.02088, allocations: 78.69 kB / 0.8217 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.02089, allocations: 0 / 0.8217 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.0209, allocations: 4 kB / 0.8217 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.0209, allocations: 4.656 kB / 0.8217 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.304e-05/0.02095, allocations: 27.95 kB / 0.8218 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.02139, allocations: 386.3 kB / 0.8221 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.02159, allocations: 106.2 kB / 0.8222 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.02162, allocations: 27.67 kB / 0.8222 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.02163, allocations: 4 kB / 0.8223 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.02175, allocations: 89 kB / 0.8223 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.02175, allocations: 0 / 0.8223 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002024/0.02196, allocations: 141.6 kB / 0.8225 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.02199, allocations: 55.41 kB / 0.8225 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.02211, allocations: 243.2 kB / 0.8228 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.02214, allocations: 38.81 kB / 0.8228 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.0222, allocations: 163.2 kB / 0.8229 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.02223, allocations: 39.73 kB / 0.823 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.403e-05/0.0223, allocations: 68.44 kB / 0.8231 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.02242, allocations: 0.504 MB / 0.8235 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.02244, allocations: 15.98 kB / 0.8236 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.0226, allocations: 244.4 kB / 0.8238 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.02269, allocations: 98.44 kB / 0.8239 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.02269, allocations: 0 / 0.8239 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001332/0.02282, allocations: 127.1 kB / 0.824 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.02284, allocations: 11.94 kB / 0.824 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.02284, allocations: 0.5 kB / 0.824 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.02285, allocations: 5.031 kB / 0.824 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.02291, allocations: 27.92 kB / 0.8241 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.02291, allocations: 0 / 0.8241 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.042e-05/0.023, allocations: 24.94 kB / 0.8241 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.02301, allocations: 8 kB / 0.8241 GB, free: 6.816 MB / 0.7761 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 9.228e-05/0.0231, allocations: 171.8 kB / 0.8242 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.02313, allocations: 31.8 kB / 0.8243 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.357e-05/0.02316, allocations: 21.8 kB / 0.8243 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.02316, allocations: 5.094 kB / 0.8243 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.02317, allocations: 0 / 0.8243 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.02317, allocations: 0 / 0.8243 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003621/0.02353, allocations: 428.8 kB / 0.8247 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02353, allocations: 0 / 0.8247 GB, free: 6.137 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.02355, allocations: 4 kB / 0.8247 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.02355, allocations: 0 / 0.8247 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.02356, allocations: 8 kB / 0.8247 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.02356, allocations: 0 / 0.8247 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02356, allocations: 3.938 kB / 0.8247 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.02371, allocations: 260.5 kB / 0.825 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.02372, allocations: 23.84 kB / 0.825 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.02374, allocations: 8.125 kB / 0.825 GB, free: 5.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/0.0238, allocations: 15.98 kB / 0.825 GB, free: 5.801 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.02384, allocations: 23.98 kB / 0.825 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.02386, allocations: 4 kB / 0.825 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.76e-05/0.02392, allocations: 175.9 kB / 0.8252 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02393, allocations: 0 / 0.8252 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001926/0.02412, allocations: 43.95 kB / 0.8253 GB, free: 5.559 MB / 0.7761 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.0003268/0.02444, allocations: 183.6 kB / 0.8254 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.02458, allocations: 90.14 kB / 0.8255 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02458, allocations: 0 / 0.8255 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.02463, allocations: 55.58 kB / 0.8256 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.02489, allocations: 55.88 kB / 0.8256 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.02532, allocations: 298.9 kB / 0.8259 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.02536, allocations: 75.98 kB / 0.826 GB, free: 4.773 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.831e-05/0.02542, allocations: 25.81 kB / 0.826 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.02558, allocations: 146.1 kB / 0.8261 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.02558, allocations: 0 / 0.8261 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of Templates: time 0.00598/0.03156, allocations: 4.22 MB / 0.8303 GB, free: 464 kB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.281071349978447]