Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001112/0.001112, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 187.1 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 60.61 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2596, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00297/0.2626, allocations: 1.519 MB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.2641, allocations: 0.7965 MB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.2642, allocations: 3.938 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.2643, allocations: 3.938 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.2644, allocations: 7.875 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.2651, allocations: 139.6 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.2652, allocations: 107.7 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2654, allocations: 16.2 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.2655, allocations: 47.89 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.835e-05/0.2656, allocations: 47.83 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2656, allocations: 8 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.2658, allocations: 103.8 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.2659, allocations: 31.89 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.266, allocations: 35.84 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2663, allocations: 167.6 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2663, allocations: 4 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2663, allocations: 0 / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.2663, allocations: 3.938 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006662/0.267, allocations: 466.5 kB / 0.787 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.267, allocations: 8.031 kB / 0.787 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.2671, allocations: 34.75 kB / 0.7871 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.2671, allocations: 8.844 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.2672, allocations: 172.3 kB / 0.7872 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.2673, allocations: 8.375 kB / 0.7872 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2673, allocations: 8.375 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.2675, allocations: 93.69 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2675, allocations: 0 / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2676, allocations: 4 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2676, allocations: 0 / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.2678, allocations: 51.95 kB / 0.7874 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007236/0.2685, allocations: 344.7 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.2687, allocations: 62.58 kB / 0.7878 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.2688, allocations: 44.84 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2688, allocations: 7.984 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.2691, allocations: 99.34 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.2691, allocations: 0 / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005597/0.2697, allocations: 185.7 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.2697, allocations: 59.56 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.2698, allocations: 129.1 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.2699, allocations: 33.7 kB / 0.7883 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.2699, allocations: 92.12 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.2699, allocations: 15.8 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.27, allocations: 33.7 kB / 0.7885 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/0.2701, allocations: 322.7 kB / 0.7888 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.377e-05/0.2702, allocations: 35.97 kB / 0.7888 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.2703, allocations: 60.28 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.2705, allocations: 96.2 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2705, allocations: 7.938 kB / 0.789 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002496/0.2707, allocations: 133.4 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2708, allocations: 8.938 kB / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2708, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2708, allocations: 0 / 0.7891 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.2709, allocations: 15.98 kB / 0.7891 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2709, allocations: 8 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.271, allocations: 19.94 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.271, allocations: 8 kB / 0.7891 GB, free: 7.324 MB / 0.6075 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,occ.y,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 (13): * Single equations (assignments): 13 * 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 8.708e-05/0.2711, allocations: 121.8 kB / 0.7893 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/0.2711, allocations: 4 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.2712, allocations: 8.375 kB / 0.7893 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2712, allocations: 4 kB / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2712, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2712, allocations: 0 / 0.7893 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.2718, allocations: 438.2 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2718, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.2718, allocations: 4 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2718, allocations: 0 / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.2719, allocations: 7.984 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2719, allocations: 0 / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2719, allocations: 3.938 kB / 0.7897 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.2723, allocations: 247.3 kB / 0.7899 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.2723, allocations: 88.95 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.2724, allocations: 3.984 kB / 0.79 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.2725, allocations: 8 kB / 0.79 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.2725, allocations: 11.92 kB / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.2725, allocations: 0 / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.2726, allocations: 99.27 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2726, allocations: 0 / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003081/0.2729, allocations: 43.98 kB / 0.7902 GB, free: 6.152 MB / 0.6075 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0008912/0.2738, allocations: 0.8469 MB / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002945/0.2741, allocations: 95.86 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2741, allocations: 4 kB / 0.7911 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.2743, allocations: 52.16 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2746, allocations: 10.98 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.2763, allocations: 1.588 MB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2766, allocations: 0.6914 MB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.2766, allocations: 11.98 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.653e-05/0.2767, allocations: 19.44 kB / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2767, allocations: 0 / 0.7934 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.2952, allocations: 2.973 MB / 0.7963 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.672/7.967, allocations: 3.938 kB / 0.7963 GB, free: 15.84 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)