Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001416/0.001416, allocations: 93.92 kB / 19.73 MB, free: 2.129 MB / 14.72 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.001638/0.001638, allocations: 216.2 kB / 23.03 MB, free: 4.953 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.8 MB / 0.7715 GB, free: 3.938 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.16 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2944, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002065/0.2965, allocations: 0.6989 MB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.2981, allocations: 1.153 MB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.208e-05/0.2982, allocations: 0 / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.092e-05/0.2982, allocations: 7.922 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.2983, allocations: 11.94 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.2988, allocations: 126.8 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.299, allocations: 127.7 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.349e-05/0.2991, allocations: 11.52 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.298e-05/0.2992, allocations: 51.84 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.2993, allocations: 35.89 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.957e-05/0.2993, allocations: 16 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.2994, allocations: 31.92 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.406e-05/0.2994, allocations: 11.94 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.317e-05/0.2995, allocations: 31.91 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.2997, allocations: 129 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2997, allocations: 4 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2997, allocations: 3.938 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.2997, allocations: 0 / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005349/0.3002, allocations: 323.8 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3002, allocations: 8.031 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.791e-05/0.3003, allocations: 192 / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.3003, allocations: 38.75 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.3003, allocations: 8.891 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3005, allocations: 122.5 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3005, allocations: 4.375 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3005, allocations: 4.375 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.3006, allocations: 50 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3006, allocations: 0 / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.3006, allocations: 4 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3006, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.3007, allocations: 15.92 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.3011, allocations: 279.9 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.716e-05/0.3012, allocations: 30.56 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.3012, allocations: 12.92 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3012, allocations: 3.984 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.3014, allocations: 67.33 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3014, allocations: 0 / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002113/0.3016, allocations: 77.62 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.3016, allocations: 55.41 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3017, allocations: 129.7 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.3018, allocations: 29.7 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.3018, allocations: 96.12 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.3019, allocations: 11.91 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.3019, allocations: 29.7 kB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3021, allocations: 326.8 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.3022, allocations: 69.62 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3023, allocations: 88.25 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3024, allocations: 84.28 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3024, allocations: 0 / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003063/0.3027, allocations: 201 kB / 1.289 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.3028, allocations: 33.7 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3028, allocations: 4 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3028, allocations: 3.984 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.3028, allocations: 11.88 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3028, allocations: 0 / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.303, allocations: 27.92 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3031, allocations: 4 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001004/0.3032, allocations: 125.8 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/0.3032, allocations: 3.984 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.3032, allocations: 12 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3032, allocations: 0 / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3032, allocations: 0 / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.3032, allocations: 0 / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3033, allocations: 148.7 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3033, allocations: 0 / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.44e-05/0.3033, allocations: 0 / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3033, allocations: 0 / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.3034, allocations: 4 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3034, allocations: 4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3034, allocations: 64 / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.3035, allocations: 101 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.3035, allocations: 11.88 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.3035, allocations: 4 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.879e-05/0.3035, allocations: 0 / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.3036, allocations: 7.938 kB / 1.289 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.3036, allocations: 4 kB / 1.289 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.849e-05/0.3036, allocations: 95.7 kB / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3036, allocations: 0 / 1.289 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002288/0.3039, allocations: 20 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004632/0.3043, allocations: 0.6358 MB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3046, allocations: 149.4 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3046, allocations: 0 / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-05/0.3046, allocations: 19.94 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3049, allocations: 27.91 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.3067, allocations: 1.636 MB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.333e-05/0.3067, allocations: 69.14 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.899e-05/0.3068, allocations: 7.984 kB / 1.292 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.3068, allocations: 19.44 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of SimCode: time 1.152e-06/0.3068, allocations: 0 / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.33, allocations: 2.628 MB / 1.294 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/11.97, allocations: 16.34 kB / 1.294 GB, free: 15.93 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.494639120996] Failed to read output from testmodel.py, exit status != 0: 12.656847384991124 12.154377179 11.850347573 Calling exit ...