Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006295/0.006295, allocations: 100.8 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 195.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 64.09 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8881, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.004158/0.8923, allocations: 1.583 MB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.8943, allocations: 0.779 MB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.8945, allocations: 0 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.582e-05/0.8946, allocations: 7.922 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.8947, allocations: 23.73 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009385/0.8957, allocations: 151.6 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002283/0.8959, allocations: 135.6 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.896, allocations: 15.98 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.8962, allocations: 63.88 kB / 1.169 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.8963, allocations: 75.67 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.8964, allocations: 12 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.8966, allocations: 103.8 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.8967, allocations: 31.89 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.103e-05/0.8968, allocations: 55.72 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.8971, allocations: 193.8 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/0.8971, allocations: 3.984 kB / 1.169 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.196e-06/0.8972, allocations: 3.938 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.453e-05/0.8972, allocations: 0 / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001075/0.8983, allocations: 482.4 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.028e-05/0.8983, allocations: 8.922 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.287e-05/0.8984, allocations: 38.75 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.8985, allocations: 8.844 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.8987, allocations: 186.2 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.8987, allocations: 4.375 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.8988, allocations: 11.94 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000304/0.8991, allocations: 93.56 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.8991, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.8991, allocations: 3.984 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.8992, allocations: 7.938 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/0.8994, allocations: 63.95 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009712/0.9003, allocations: 376.5 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.9005, allocations: 66.55 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.9007, allocations: 56.77 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.9007, allocations: 0 / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003028/0.901, allocations: 103.3 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.901, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0005865/0.9016, allocations: 213.7 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.9017, allocations: 55.41 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.9018, allocations: 147.1 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.9018, allocations: 29.8 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.9019, allocations: 104.2 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.9019, allocations: 23.8 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.902, allocations: 29.7 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.9021, allocations: 322.8 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.9023, allocations: 35.97 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.9024, allocations: 85.58 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.9026, allocations: 108.2 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9027, allocations: 0 / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004065/0.9031, allocations: 161.4 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.9031, allocations: 8 kB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9031, allocations: 112 / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.9031, allocations: 11.88 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.9033, allocations: 23.92 kB / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.9033, allocations: 0 / 1.172 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.9034, allocations: 15.92 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.9034, allocations: 4 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001217/0.9036, allocations: 129.9 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.9036, allocations: 11.89 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.9036, allocations: 8.719 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.9037, allocations: 7.938 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9037, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9037, allocations: 0 / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.9043, allocations: 462.5 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.9043, allocations: 4 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.528e-05/0.9044, allocations: 11.92 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.9044, allocations: 0 / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.9044, allocations: 8.062 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9044, allocations: 0 / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.9044, allocations: 0 / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004238/0.9049, allocations: 275.3 kB / 1.173 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.9049, allocations: 88.89 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.905, allocations: 4 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.9051, allocations: 11.98 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.9052, allocations: 7.984 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.9052, allocations: 0 / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.9053, allocations: 108.9 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9053, allocations: 0 / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000334/0.9056, allocations: 44 kB / 1.173 GB, free: 12.18 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009347/0.9066, allocations: 0.8751 MB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.9069, allocations: 116 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9069, allocations: 3.938 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.9071, allocations: 55.91 kB / 1.174 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.9074, allocations: 11.98 kB / 1.174 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.9095, allocations: 1.717 MB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.9098, allocations: 0.6963 MB / 1.177 GB, free: 8.562 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.558e-05/0.9098, allocations: 4 kB / 1.177 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.9099, allocations: 31.42 kB / 1.177 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.9099, allocations: 0 / 1.177 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.9344, allocations: 3.397 MB / 1.18 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.752/8.687, allocations: 20.86 kB / 1.18 GB, free: 5.266 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches