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.001334/0.001334, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001549/0.001549, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.836/2.836, allocations: 476.7 MB / 0.7714 GB, free: 4.281 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.002001/0.002001, allocations: 63.22 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001932/0.3018, allocations: 0.7365 MB / 1.285 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.3033, allocations: 1.168 MB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.3034, allocations: 4 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.611e-05/0.3034, allocations: 11.86 kB / 1.286 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.693e-05/0.3035, allocations: 15.88 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.304, allocations: 127.4 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.3042, allocations: 127.7 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.66e-05/0.3043, allocations: 8 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.3044, allocations: 51.89 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.3045, allocations: 31.91 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.3045, allocations: 12 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.131e-05/0.3046, allocations: 31.98 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3046, allocations: 19.86 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/0.3047, allocations: 35.91 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.3049, allocations: 135.8 kB / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3049, allocations: 0 / 1.287 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3049, allocations: 4 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.305, allocations: 0 / 1.287 GB, free: 9.199 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.0005363/0.3055, allocations: 319.8 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3055, allocations: 8.031 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.306e-05/0.3056, allocations: 8.188 kB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.3056, allocations: 38.73 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.3056, allocations: 8.891 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3058, allocations: 114.5 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3058, allocations: 4.375 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3058, allocations: 4.375 kB / 1.287 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.3059, allocations: 53.94 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3059, allocations: 0 / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.306, allocations: 0 / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.306, allocations: 4 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.306, allocations: 15.98 kB / 1.287 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.3065, allocations: 303.8 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.3066, allocations: 30.45 kB / 1.287 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.3066, allocations: 12.92 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3066, allocations: 3.984 kB / 1.288 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.3069, allocations: 67.39 kB / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.3069, allocations: 0 / 1.288 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002511/0.3071, allocations: 81.56 kB / 1.288 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.3072, allocations: 51.41 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3073, allocations: 125.8 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.3074, allocations: 33.69 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.3074, allocations: 92.09 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.3075, allocations: 11.94 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/0.3075, allocations: 37.64 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3077, allocations: 322.8 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.3078, allocations: 35.98 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.3079, allocations: 54.56 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.308, allocations: 92.2 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.308, allocations: 4 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002952/0.3083, allocations: 163.2 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.3084, allocations: 43.56 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3084, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3084, allocations: 4 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.3084, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3084, allocations: 4 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.3086, allocations: 23.97 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3087, allocations: 12.11 kB / 1.289 GB, free: 6.816 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.0001042/0.3088, allocations: 117.8 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.3088, allocations: 11.95 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.3088, allocations: 11.94 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3088, allocations: 4 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3088, allocations: 0 / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3088, allocations: 0 / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.309, allocations: 144.7 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.309, allocations: 0 / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.309, allocations: 11.94 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.309, allocations: 0 / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.309, allocations: 0 / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.309, allocations: 0 / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.309, allocations: 4 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.3091, allocations: 89.05 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.58e-05/0.3091, allocations: 7.953 kB / 1.289 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3092, allocations: 4 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.878e-05/0.3092, allocations: 4 kB / 1.289 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.3092, allocations: 3.984 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3092, allocations: 4 kB / 1.289 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.831e-05/0.3093, allocations: 103.2 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3093, allocations: 0 / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002218/0.3095, allocations: 19.94 kB / 1.289 GB, free: 6.211 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.0004989/0.31, allocations: 0.6319 MB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002615/0.3103, allocations: 123.6 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3103, allocations: 0 / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.51e-05/0.3103, allocations: 12 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3106, allocations: 16.94 kB / 1.29 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3125, allocations: 1.513 MB / 1.291 GB, free: 3.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3128, allocations: 0.6846 MB / 1.292 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3128, allocations: 4 kB / 1.292 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.3129, allocations: 19.42 kB / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of SimCode: time 8.41e-07/0.3129, allocations: 0 / 1.292 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.3352, allocations: 2.511 MB / 1.295 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.63, allocations: 9.047 kB / 1.295 GB, free: 0.6992 MB / 0.9825 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.317592196981423] Failed to read output from testmodel.py, exit status != 0: 12.313489190011751 11.818778259 11.509286811 Calling exit ...