Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.881/2.881, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.88 kB / 1.107 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002269/1.078, allocations: 1.079 MB / 1.273 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0012/1.079, allocations: 1.006 MB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/1.079, allocations: 3.312 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/1.079, allocations: 24.61 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.908e-05/1.079, allocations: 14.66 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/1.079, allocations: 75.52 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002031/1.079, allocations: 176.1 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/1.08, allocations: 63.23 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/1.08, allocations: 73.58 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.177e-05/1.08, allocations: 84.3 kB / 1.274 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/1.08, allocations: 20.16 kB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.626e-05/1.08, allocations: 19.38 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.615e-05/1.08, allocations: 33.59 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/1.08, allocations: 77.7 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/1.08, allocations: 187.3 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.08, allocations: 0 / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/1.08, allocations: 0.9375 kB / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.08, allocations: 0 / 1.274 GB, free: 5.781 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006616/1.081, allocations: 480.5 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/1.081, allocations: 10.03 kB / 1.275 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.655e-05/1.081, allocations: 52.34 kB / 1.275 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/1.081, allocations: 17.53 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/1.081, allocations: 229.1 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.081, allocations: 11.12 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/1.081, allocations: 19.78 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/1.082, allocations: 161.1 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.082, allocations: 0 / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.082, allocations: 6.031 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/1.082, allocations: 4.188 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/1.082, allocations: 109 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009718/1.083, allocations: 0.5322 MB / 1.276 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/1.083, allocations: 132.2 kB / 1.276 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.083, allocations: 85.64 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/1.083, allocations: 5.156 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/1.084, allocations: 116.8 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=19): time 1.253e-06/1.084, allocations: 1.156 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.0005432/1.084, allocations: 228.8 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.084, allocations: 57.5 kB / 1.277 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/1.084, allocations: 168.1 kB / 1.277 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/1.084, allocations: 30.61 kB / 1.277 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/1.084, allocations: 119.8 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/1.084, allocations: 63.66 kB / 1.277 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/1.085, allocations: 43.48 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.123e-05/1.085, allocations: 323.7 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.085, allocations: 68.12 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/1.085, allocations: 88.56 kB / 1.277 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/1.085, allocations: 148.4 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.085, allocations: 4.969 kB / 1.278 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004671/1.086, allocations: 215.3 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.086, allocations: 6.203 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.086, allocations: 4.75 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/1.086, allocations: 1.562 kB / 1.278 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/1.086, allocations: 44.72 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.086, allocations: 0.75 kB / 1.278 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/1.086, allocations: 35.83 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/1.086, allocations: 4.938 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.375e-05/1.086, allocations: 129.7 kB / 1.278 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/1.086, allocations: 19.62 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/1.087, allocations: 188.3 kB / 1.278 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.087, allocations: 5.75 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.087, allocations: 2.688 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.087, allocations: 0 / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/1.087, allocations: 0.5882 MB / 1.279 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/1.087, allocations: 1.844 kB / 1.279 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/1.088, allocations: 37.34 kB / 1.279 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/1.088, allocations: 6.656 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/1.088, allocations: 8.984 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/1.088, allocations: 2.688 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.088, allocations: 1.844 kB / 1.279 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005275/1.088, allocations: 378.8 kB / 1.279 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/1.088, allocations: 106.1 kB / 1.279 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.088, allocations: 7.5 kB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/1.088, allocations: 19.58 kB / 1.279 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/1.088, allocations: 21.53 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/1.088, allocations: 6.375 kB / 1.279 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.083e-05/1.089, allocations: 117 kB / 1.279 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/1.089, allocations: 0 / 1.279 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002802/1.089, allocations: 36.7 kB / 1.28 GB, free: 2.094 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0007317/1.09, allocations: 0.9233 MB / 1.28 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004492/1.09, allocations: 154.1 kB / 1.281 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.09, allocations: 4.906 kB / 1.281 GB, free: 1.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/1.09, allocations: 88.14 kB / 1.281 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/1.091, allocations: 30.12 kB / 1.281 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/1.093, allocations: 2.149 MB / 1.283 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.093, allocations: 0.7283 MB / 1.283 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.34e-05/1.094, allocations: 14.23 kB / 1.284 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/1.094, allocations: 55.92 kB / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.094, allocations: 0 / 1.284 GB, free: 14.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/1.121, allocations: 3.62 MB / 1.287 GB, free: 14.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/9.19, allocations: 14.06 kB / 1.287 GB, free: 14.31 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.517620525002712] Failed to read output from testmodel.py, exit status != 0: 9.259604295977624 9.283168957 8.198797751 Calling exit ...