Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001592/0.001592, allocations: 193 kB / 16.13 MB, free: 6.652 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 71.83 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/0.5157, allocations: 140.4 MB / 0.949 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001974/0.5177, allocations: 1.397 MB / 0.9504 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005691/0.5183, allocations: 374.1 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.5183, allocations: 1.375 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.52e-05/0.5184, allocations: 4 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.5184, allocations: 9.297 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.5187, allocations: 68.48 kB / 0.9508 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.5188, allocations: 43.16 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.5188, allocations: 2.75 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.5189, allocations: 18.8 kB / 0.9509 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.5189, allocations: 26.78 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.5189, allocations: 2.75 kB / 0.9509 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.5191, allocations: 74.28 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.5191, allocations: 27.08 kB / 0.951 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.5191, allocations: 45.75 kB / 0.9511 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.5193, allocations: 151.3 kB / 0.9512 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5193, allocations: 3.984 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5193, allocations: 1.375 kB / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.5193, allocations: 0 / 0.9512 GB, free: 7.535 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0003196/0.5197, allocations: 0.52 MB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.5197, allocations: 9.406 kB / 0.9517 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.5197, allocations: 45.95 kB / 0.9518 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.844e-05/0.5198, allocations: 16.12 kB / 0.9518 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.508e-05/0.5199, allocations: 176 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.5199, allocations: 1.844 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.5199, allocations: 4.25 kB / 0.952 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.5201, allocations: 245.6 kB / 0.9522 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.24e-06/0.5201, allocations: 3.938 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.5201, allocations: 6.469 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.715e-06/0.5202, allocations: 0 / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.5203, allocations: 149 kB / 0.9524 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.5204, allocations: 197.2 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.5207, allocations: 0.5332 MB / 0.9531 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.5209, allocations: 0.5194 MB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.5209, allocations: 1.094 kB / 0.9536 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000292/0.5212, allocations: 407 kB / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.102e-06/0.5212, allocations: 0 / 0.954 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0005909/0.5218, allocations: 0.6833 MB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.5219, allocations: 105.7 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/0.5219, allocations: 105.8 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.5219, allocations: 27.27 kB / 0.9549 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.522, allocations: 80.8 kB / 0.9549 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.522, allocations: 73.41 kB / 0.955 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.522, allocations: 40.48 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.571e-05/0.5221, allocations: 323.4 kB / 0.9554 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.5222, allocations: 83.78 kB / 0.9554 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.5222, allocations: 78.95 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5225, allocations: 355.8 kB / 0.9558 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5225, allocations: 1.406 kB / 0.9559 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000277/0.5227, allocations: 338.8 kB / 0.9562 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-05/0.5228, allocations: 81.72 kB / 0.9563 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.5228, allocations: 4.062 kB / 0.9563 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.5228, allocations: 0 / 0.9563 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.469e-05/0.5229, allocations: 7.266 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.5229, allocations: 0 / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.234e-05/0.523, allocations: 16.34 kB / 0.9563 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.523, allocations: 8 kB / 0.9563 GB, free: 3.773 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 (occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,occ.hold_time,occ.tNext,$PRE.occ.tNext,occ.mu,occ.occ,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0001655/0.5232, allocations: 263.6 kB / 0.9565 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.5232, allocations: 26.44 kB / 0.9566 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.193e-06/0.5232, allocations: 5.219 kB / 0.9566 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5232, allocations: 1.125 kB / 0.9566 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5232, allocations: 4 kB / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.5232, allocations: 0 / 0.9566 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.5233, allocations: 245 kB / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5234, allocations: 0 / 0.9568 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.312e-06/0.5234, allocations: 4.734 kB / 0.9568 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5234, allocations: 4.812 kB / 0.9568 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.5234, allocations: 20.03 kB / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.5234, allocations: 1.094 kB / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5234, allocations: 0 / 0.9568 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.5244, allocations: 1.289 MB / 0.9581 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.192e-05/0.5244, allocations: 104 kB / 0.9582 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.627e-05/0.5245, allocations: 75.61 kB / 0.9583 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.5246, allocations: 15.52 kB / 0.9583 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.5246, allocations: 4 kB / 0.9583 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.5247, allocations: 16.23 kB / 0.9583 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.767e-05/0.5247, allocations: 78.47 kB / 0.9584 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5247, allocations: 0 / 0.9584 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002773/0.525, allocations: 71.31 kB / 0.9584 GB, free: 2.43 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001308/0.5263, allocations: 1.953 MB / 0.9603 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.5274, allocations: 1.965 MB / 0.9623 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5274, allocations: 0 / 0.9623 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.5288, allocations: 2.016 MB / 0.9642 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.529, allocations: 16.19 kB / 0.9643 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000577/0.5295, allocations: 414 kB / 0.9646 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.5298, allocations: 0.7136 MB / 0.9653 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.13e-05/0.5298, allocations: 0 / 0.9653 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.5298, allocations: 32.61 kB / 0.9654 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5298, allocations: 0 / 0.9654 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9835/1.513, allocations: 3.804 MB / 0.9691 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/1.514, allocations: 260.4 kB / 0.9693 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/3.17, allocations: 0 / 0.9693 GB, free: 11.57 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)