Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.5 MB / 266.7 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009269/0.000927, allocations: 170.6 kB / 325.8 MB, free: 2.723 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008305/0.0008305, allocations: 80.11 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 15.27 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.244, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00175/0.2458, allocations: 1.324 MB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2471, allocations: 0.8389 MB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.2472, allocations: 3.938 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.203e-05/0.2473, allocations: 0 / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.2474, allocations: 19.81 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.248, allocations: 127.7 kB / 0.8985 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2481, allocations: 127.6 kB / 0.8986 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.728e-05/0.2482, allocations: 15.98 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2484, allocations: 51.89 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.2485, allocations: 71.66 kB / 0.8987 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2485, allocations: 8 kB / 0.8987 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.2487, allocations: 95.84 kB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.045e-05/0.2488, allocations: 19.91 kB / 0.8988 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.2488, allocations: 47.72 kB / 0.8989 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.2491, allocations: 183.5 kB / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2491, allocations: 0 / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2491, allocations: 0 / 0.8991 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2491, allocations: 0 / 0.8991 GB, free: 65.14 MB / 0.6042 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.0006471/0.2497, allocations: 470.5 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.2498, allocations: 8.031 kB / 0.8995 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.2498, allocations: 34.75 kB / 0.8995 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.136e-05/0.2499, allocations: 12.84 kB / 0.8996 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.279e-05/0.25, allocations: 184.6 kB / 0.8997 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.25, allocations: 4.375 kB / 0.8997 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.2501, allocations: 15.94 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2503, allocations: 101.6 kB / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2503, allocations: 0 / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2503, allocations: 0 / 0.8998 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2503, allocations: 7.984 kB / 0.8999 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.2505, allocations: 75.89 kB / 0.8999 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007523/0.2513, allocations: 384.6 kB / 0.9003 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2515, allocations: 70.56 kB / 0.9004 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.2516, allocations: 56.83 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2516, allocations: 4 kB / 0.9004 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.2518, allocations: 107.3 kB / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.2519, allocations: 0 / 0.9005 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0005193/0.2524, allocations: 233.3 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2524, allocations: 55.78 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.268e-05/0.2525, allocations: 146.3 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2525, allocations: 25.7 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.2526, allocations: 108.3 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.2526, allocations: 27.8 kB / 0.9011 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.2527, allocations: 21.72 kB / 0.9011 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.2527, allocations: 318.8 kB / 0.9014 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.2529, allocations: 47.97 kB / 0.9015 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.253, allocations: 84.27 kB / 0.9015 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.2532, allocations: 120.2 kB / 0.9017 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2532, allocations: 4 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003078/0.2536, allocations: 169.5 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.2536, allocations: 4 kB / 0.9018 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2536, allocations: 4 kB / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2536, allocations: 0 / 0.9018 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2538, allocations: 27.86 kB / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.2538, allocations: 0 / 0.9019 GB, free: 62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2539, allocations: 23.83 kB / 0.9019 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.2539, allocations: 8 kB / 0.9019 GB, free: 61.96 MB / 0.6042 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 9.685e-05/0.254, allocations: 120.3 kB / 0.902 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.254, allocations: 7.906 kB / 0.902 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.2541, allocations: 16.7 kB / 0.902 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2541, allocations: 4.047 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2541, allocations: 8 kB / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2541, allocations: 0 / 0.902 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.2546, allocations: 470.3 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2547, allocations: 4 kB / 0.9025 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.2547, allocations: 7.938 kB / 0.9025 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.2547, allocations: 7.984 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2548, allocations: 4 kB / 0.9025 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2548, allocations: 4 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2548, allocations: 0 / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.2551, allocations: 279.3 kB / 0.9028 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.2552, allocations: 96.98 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2552, allocations: 3.938 kB / 0.9029 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2553, allocations: 11.98 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.2554, allocations: 4 kB / 0.9029 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.2554, allocations: 11.98 kB / 0.9029 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.2555, allocations: 106.5 kB / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2555, allocations: 0 / 0.903 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003208/0.2558, allocations: 39.98 kB / 0.903 GB, free: 60.69 MB / 0.6042 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.0008526/0.2567, allocations: 0.8706 MB / 0.9039 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.257, allocations: 127.8 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.257, allocations: 4.281 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.2572, allocations: 63.91 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2574, allocations: 8 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.2591, allocations: 1.762 MB / 0.9058 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2593, allocations: 0.7001 MB / 0.9065 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.116e-05/0.2593, allocations: 4 kB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.2594, allocations: 31.42 kB / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2594, allocations: 0 / 0.9065 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0139/0.2733, allocations: 3.02 MB / 0.9095 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/0.2736, allocations: 279.5 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.959, allocations: 2.594 kB / 0.9097 GB, free: 53.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)