Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.001196/0.001196, allocations: 109 kB / 17.54 MB, free: 4.781 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.001147/0.001147, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.272/1.272, allocations: 225.6 MB / 249.3 MB, free: 3.328 MB / 190.1 MB " [Timeout remaining time 179] 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.463/2.463, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] 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.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001742/0.001742, allocations: 67.89 kB / 1.107 GB, free: 5.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7981, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002467/0.8006, allocations: 1.511 MB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.8017, allocations: 0.7477 MB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.8017, allocations: 0.8438 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.8018, allocations: 9.141 kB / 1.274 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.8018, allocations: 11.06 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.8023, allocations: 128.7 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.8024, allocations: 73.53 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.55e-05/0.8025, allocations: 13.91 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.8025, allocations: 39.55 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.8026, allocations: 37.75 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.8026, allocations: 6.219 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.8028, allocations: 108.4 kB / 1.274 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.8029, allocations: 15.38 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.8029, allocations: 36.3 kB / 1.274 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.8031, allocations: 136.3 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8031, allocations: 0.75 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8031, allocations: 0 / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8031, allocations: 0.625 kB / 1.274 GB, free: 5.934 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004744/0.8036, allocations: 426.3 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.8036, allocations: 9.438 kB / 1.275 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.8036, allocations: 41.44 kB / 1.275 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.8037, allocations: 12.83 kB / 1.275 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.8037, allocations: 173.6 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8038, allocations: 3.219 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.8038, allocations: 11.27 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.8039, allocations: 64.73 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.8039, allocations: 5.781 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.8039, allocations: 0 / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.804, allocations: 1 kB / 1.275 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.8041, allocations: 40.39 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.8045, allocations: 312.8 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.8047, allocations: 48.33 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.44e-05/0.8047, allocations: 30.19 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.8047, allocations: 5.031 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.8049, allocations: 85.31 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.8049, allocations: 0 / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003564/0.8053, allocations: 146.6 kB / 1.276 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.8053, allocations: 53.78 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.955e-05/0.8053, allocations: 122.4 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.8054, allocations: 30.58 kB / 1.276 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.8054, allocations: 89.22 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.8054, allocations: 15.28 kB / 1.276 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.8054, allocations: 25.42 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.859e-05/0.8055, allocations: 328.9 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.705e-05/0.8056, allocations: 27.3 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.8056, allocations: 59.7 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.8058, allocations: 81.39 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8058, allocations: 0.7188 kB / 1.276 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.806, allocations: 115 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.806, allocations: 7.469 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.806, allocations: 1.156 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.806, allocations: 1.562 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.8061, allocations: 11.48 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.8061, allocations: 5.656 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.8062, allocations: 13.28 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.8062, allocations: 8.844 kB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 5.467e-05/0.8063, allocations: 119.8 kB / 1.277 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.8063, allocations: 8.578 kB / 1.277 GB, free: 3.746 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.8063, allocations: 9.5 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.8063, allocations: 4.875 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.8063, allocations: 0.875 kB / 1.277 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8063, allocations: 5.781 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.8067, allocations: 385.8 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8067, allocations: 1.453 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.8067, allocations: 4.656 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8067, allocations: 0.7969 kB / 1.277 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.8067, allocations: 5.484 kB / 1.277 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.8067, allocations: 5.281 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8067, allocations: 0.6875 kB / 1.277 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.8069, allocations: 211.5 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.807, allocations: 80.27 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.807, allocations: 1.031 kB / 1.277 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.807, allocations: 16.06 kB / 1.277 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.938e-05/0.8071, allocations: 7.094 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.8071, allocations: 2 kB / 1.277 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.8071, allocations: 91.59 kB / 1.277 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8071, allocations: 3.938 kB / 1.277 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002711/0.8074, allocations: 46.75 kB / 1.277 GB, free: 3.008 MB / 0.9981 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,occ.y,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.0005921/0.808, allocations: 0.7963 MB / 1.278 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002291/0.8082, allocations: 68.64 kB / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8082, allocations: 0 / 1.278 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.267e-05/0.8083, allocations: 35.47 kB / 1.278 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.8085, allocations: 17.44 kB / 1.278 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.8098, allocations: 1.516 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.8101, allocations: 0.6958 MB / 1.28 GB, free: 16.22 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.8101, allocations: 6.875 kB / 1.28 GB, free: 16.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.738e-05/0.8101, allocations: 21.64 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.8101, allocations: 3.938 kB / 1.281 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.8328, allocations: 2.64 MB / 1.283 GB, free: 15.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.83, allocations: 11.48 kB / 1.283 GB, free: 15.69 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed [Calling sys.exit(0), Time elapsed: 13.020616145999156]