Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.0007559/0.0007559, allocations: 76.5 kB / 19.92 MB, free: 4.633 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.0007715/0.0007715, allocations: 170.3 kB / 23.21 MB, free: 1.355 MB / 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.8657/0.8657, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5626/0.5626, allocations: 114 MB / 373.9 MB, free: 8.734 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5542 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.831e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.00125/0.001268, allocations: 0.6488 MB / 0.5548 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.002318, allocations: 1.077 MB / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.002358, allocations: 0 / 0.5558 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.002388, allocations: 3.938 kB / 0.5559 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.002449, allocations: 7.938 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.002735, allocations: 47.7 kB / 0.5559 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.614e-05/0.002821, allocations: 47.84 kB / 0.5559 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.002911, allocations: 8 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.002984, allocations: 27.95 kB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.355e-05/0.003028, allocations: 19.92 kB / 0.556 GB, free: 0.9141 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.003042, allocations: 4 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.0031, allocations: 23.98 kB / 0.556 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.003121, allocations: 11.97 kB / 0.556 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.003148, allocations: 15.94 kB / 0.5561 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003283, allocations: 67.77 kB / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003284, allocations: 0 / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003286, allocations: 0 / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.00329, allocations: 0 / 0.5561 GB, free: 0.793 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004854/0.003776, allocations: 292.4 kB / 0.5564 GB, free: 488 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.00382, allocations: 12.62 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.421e-05/0.003854, allocations: 38.73 kB / 0.5564 GB, free: 428 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.218e-05/0.003926, allocations: 8.891 kB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.232e-05/0.004018, allocations: 105.8 kB / 0.5566 GB, free: 288 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.004034, allocations: 4.312 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.004049, allocations: 8.375 kB / 0.5566 GB, free: 276 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.004229, allocations: 62.2 kB / 0.5566 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.004237, allocations: 192 / 0.5566 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.004248, allocations: 8.312 kB / 0.5566 GB, free: 200 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.004255, allocations: 12.12 kB / 0.5566 GB, free: 188 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.004352, allocations: 39.95 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.004743, allocations: 243.9 kB / 0.5569 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.004857, allocations: 54.53 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.004907, allocations: 24.97 kB / 0.557 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.004934, allocations: 15.86 kB / 0.557 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.005072, allocations: 71.39 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.005073, allocations: 0 / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002676/0.00534, allocations: 113.6 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.005379, allocations: 55.41 kB / 0.5572 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.005439, allocations: 105.8 kB / 0.5573 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.005452, allocations: 29.7 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.567e-05/0.005488, allocations: 84.09 kB / 0.5574 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.005511, allocations: 27.83 kB / 0.5575 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.005542, allocations: 25.72 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.005616, allocations: 314.8 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.855e-05/0.005665, allocations: 19.98 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.005726, allocations: 55.41 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.00583, allocations: 75.33 kB / 0.5579 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005832, allocations: 8 kB / 0.558 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001416/0.005973, allocations: 97.53 kB / 0.558 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.005986, allocations: 10.48 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.005991, allocations: 4 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.006001, allocations: 0 / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.006063, allocations: 19.92 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.006069, allocations: 3.938 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.006102, allocations: 12.09 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.00611, allocations: 4 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.185e-05/0.006172, allocations: 117.8 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-06/0.006181, allocations: 7.891 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.00634, allocations: 106.6 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.006342, allocations: 0 / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.006347, allocations: 4 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006351, allocations: 0 / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.006623, allocations: 329.6 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006625, allocations: 0 / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-05/0.006654, allocations: 8 kB / 0.5586 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.006656, allocations: 3.938 kB / 0.5586 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.006664, allocations: 3.984 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006666, allocations: 4 kB / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.006667, allocations: 0 / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.006817, allocations: 195.3 kB / 0.5588 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.006824, allocations: 8 kB / 0.5588 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.006837, allocations: 3.984 kB / 0.5589 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-05/0.006882, allocations: 4 kB / 0.5589 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.006918, allocations: 7.984 kB / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.00693, allocations: 0 / 0.5589 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.006967, allocations: 91.27 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006967, allocations: 0 / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001771/0.007144, allocations: 12 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003866/0.007531, allocations: 0.7318 MB / 0.5597 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.007684, allocations: 59.89 kB / 0.5597 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007685, allocations: 0 / 0.5597 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.007745, allocations: 35.97 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.00793, allocations: 4.688 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.008913, allocations: 1.393 MB / 0.5611 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.00896, allocations: 75.22 kB / 0.5612 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.008986, allocations: 7.969 kB / 0.5612 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.009021, allocations: 20.5 kB / 0.5612 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of SimCode: time 4.7e-07/0.009022, allocations: 0 / 0.5612 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.02569, allocations: 2.432 MB / 0.5636 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/6.531, allocations: 10.73 kB / 0.5636 GB, free: 8.82 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_Sampler.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.102233824320138] Failed to read output from testmodel.py, exit status != 0: 6.608289111405611 6.616768307 6.611810366 Calling exit ...