Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001728/0.001728, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002066/0.002066, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.511/1.511, 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.794/2.794, allocations: 476.8 MB / 0.7715 GB, free: 3.84 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.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001962/0.001962, allocations: 67.81 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3814, allocations: 170 MB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003722/0.3852, allocations: 1.511 MB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3869, allocations: 0.7497 MB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.3869, allocations: 0 / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.307e-05/0.387, allocations: 7.938 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.387, allocations: 11.88 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.3878, allocations: 147.5 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.388, allocations: 67.83 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3881, allocations: 12.17 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3882, allocations: 51.78 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.3883, allocations: 39.89 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.3883, allocations: 4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.3886, allocations: 143.8 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.3887, allocations: 19.97 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.3887, allocations: 23.86 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.389, allocations: 150.9 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.389, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/0.389, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.389, allocations: 4 kB / 1.287 GB, free: 7.617 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007401/0.3898, allocations: 355.5 kB / 1.287 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3898, allocations: 8.031 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.43e-05/0.3898, allocations: 12.06 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.566e-05/0.3899, allocations: 34.75 kB / 1.287 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.3902, allocations: 32.91 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3905, allocations: 130.4 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.3905, allocations: 4.312 kB / 1.288 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.3905, allocations: 16.12 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3907, allocations: 73.62 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3907, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3907, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3908, allocations: 0 / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3909, allocations: 39.97 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.3915, allocations: 275.9 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3917, allocations: 50.48 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/0.3917, allocations: 24.97 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.3918, allocations: 4 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3919, allocations: 79.38 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.392, allocations: 0 / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004391/0.3924, allocations: 145.5 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.3924, allocations: 55.41 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.3926, allocations: 126 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.3926, allocations: 29.7 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3927, allocations: 92.09 kB / 1.288 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3927, allocations: 19.97 kB / 1.288 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.3928, allocations: 21.72 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002041/0.393, allocations: 330.8 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.3931, allocations: 23.98 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3932, allocations: 58.47 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3934, allocations: 70.5 kB / 1.289 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3934, allocations: 3.938 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.3936, allocations: 117.6 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3936, allocations: 4 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3936, allocations: 0 / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3937, allocations: 4 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3938, allocations: 11.98 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3938, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.609e-05/0.3939, allocations: 11.92 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3939, allocations: 4 kB / 1.289 GB, free: 5.172 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: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001167/0.394, allocations: 127.1 kB / 1.289 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.394, allocations: 11.98 kB / 1.289 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.394, allocations: 4.375 kB / 1.289 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.394, allocations: 4 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.394, allocations: 0 / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.394, allocations: 11.86 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.3946, allocations: 345.6 kB / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3946, allocations: 0 / 1.29 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.3946, allocations: 4 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3946, allocations: 0 / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.3946, allocations: 7.922 kB / 1.29 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3946, allocations: 4 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3946, allocations: 4 kB / 1.29 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.3949, allocations: 207.5 kB / 1.29 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.3949, allocations: 7.953 kB / 1.29 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.395, allocations: 11.92 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.3951, allocations: 4 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.3951, allocations: 7.984 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3951, allocations: 4 kB / 1.29 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.386e-05/0.3952, allocations: 96.83 kB / 1.29 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3952, allocations: 4 kB / 1.29 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003078/0.3955, allocations: 39.94 kB / 1.29 GB, free: 4.207 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009277/0.3964, allocations: 0.8203 MB / 1.291 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3967, allocations: 75.89 kB / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3967, allocations: 0 / 1.291 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3968, allocations: 31.98 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.397, allocations: 8 kB / 1.291 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.3989, allocations: 1.501 MB / 1.292 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.561e-05/0.399, allocations: 79.33 kB / 1.292 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.399, allocations: 4 kB / 1.292 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.3991, allocations: 23.42 kB / 1.292 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3991, allocations: 0 / 1.292 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4232, allocations: 2.904 MB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.06, allocations: 13.72 kB / 1.295 GB, free: 14.8 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.80444199196063] Failed to read output from testmodel.py, exit status != 0: 12.766805581981316 12.249314591 11.855499754 Calling exit ...