Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.702/2.702, allocations: 287.3 MB / 302.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001638/0.001638, allocations: 188.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 96.67 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.0005264, allocations: 11.89 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.241, allocations: 115.3 MB / 0.9783 GB, free: 28.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002759/0.2438, allocations: 1.792 MB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9526/1.196, allocations: 127.1 MB / 1.104 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003192/1.197, allocations: 5.5 kB / 1.104 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/1.198, allocations: 0.7341 MB / 1.105 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/1.2, allocations: 470.9 kB / 1.105 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/1.201, allocations: 321.5 kB / 1.106 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001247/1.203, allocations: 385.5 kB / 1.106 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002607/1.203, allocations: 64.33 kB / 1.106 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/1.204, allocations: 295.2 kB / 1.106 GB, free: 1.762 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008434/1.205, allocations: 347 kB / 1.107 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/1.205, allocations: 10 kB / 1.107 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/1.206, allocations: 287.1 kB / 1.107 GB, free: 1.727 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002949/1.206, allocations: 173.9 kB / 1.107 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/1.207, allocations: 124.1 kB / 1.107 GB, free: 17.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/1.208, allocations: 0.5194 MB / 1.108 GB, free: 17.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.208, allocations: 0 / 1.108 GB, free: 17.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.208, allocations: 3.938 kB / 1.108 GB, free: 17.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.589e-05/1.208, allocations: 0 / 1.108 GB, free: 17.58 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002662/1.211, allocations: 0.9733 MB / 1.109 GB, free: 16.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/1.211, allocations: 13.92 kB / 1.109 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/1.211, allocations: 59.05 kB / 1.109 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003054/1.214, allocations: 190.2 kB / 1.109 GB, free: 16.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.215, allocations: 460.3 kB / 1.109 GB, free: 16.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/1.215, allocations: 19.23 kB / 1.109 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/1.215, allocations: 18.95 kB / 1.109 GB, free: 16.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/1.217, allocations: 326.8 kB / 1.11 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.217, allocations: 0 / 1.11 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/1.217, allocations: 10.92 kB / 1.11 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.217, allocations: 4.156 kB / 1.11 GB, free: 16.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/1.22, allocations: 338.9 kB / 1.11 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/1.224, allocations: 1.116 MB / 1.111 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/1.226, allocations: 395.6 kB / 1.112 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.002e-05/1.226, allocations: 13.45 kB / 1.112 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/1.228, allocations: 304.8 kB / 1.112 GB, free: 15.81 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.426e-06/1.228, allocations: 0 / 1.112 GB, free: 15.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.02115/1.249, allocations: 1.202 MB / 1.113 GB, free: 15.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/1.249, allocations: 82.16 kB / 1.113 GB, free: 15.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/1.254, allocations: 1.343 MB / 1.114 GB, free: 15.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.00025/1.254, allocations: 33.73 kB / 1.114 GB, free: 15.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/1.255, allocations: 366.3 kB / 1.115 GB, free: 15.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/1.255, allocations: 99.56 kB / 1.115 GB, free: 15.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.253e-05/1.256, allocations: 3.062 kB / 1.115 GB, free: 15.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.256, allocations: 328.8 kB / 1.115 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/1.258, allocations: 165.5 kB / 1.115 GB, free: 14.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/1.26, allocations: 234 kB / 1.116 GB, free: 14.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002037/1.262, allocations: 186.5 kB / 1.116 GB, free: 14.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/1.262, allocations: 0 / 1.116 GB, free: 14.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0123/1.274, allocations: 0.7035 MB / 1.116 GB, free: 14.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.274, allocations: 5.875 kB / 1.116 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/1.274, allocations: 2.375 kB / 1.116 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/1.277, allocations: 177.9 kB / 1.117 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/1.279, allocations: 64.12 kB / 1.117 GB, free: 14.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02292/1.302, allocations: 2.182 MB / 1.119 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/1.303, allocations: 47.77 kB / 1.119 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/1.303, allocations: 16.06 kB / 1.119 GB, free: 13.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.305, allocations: 299.4 kB / 1.119 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/1.305, allocations: 79.56 kB / 1.119 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.318, allocations: 0.7377 MB / 1.12 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/1.318, allocations: 2.688 kB / 1.12 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.569e-05/1.318, allocations: 7.266 kB / 1.12 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/1.318, allocations: 10.09 kB / 1.12 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.32, allocations: 0.5616 MB / 1.121 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.32, allocations: 4.172 kB / 1.121 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/1.321, allocations: 43.17 kB / 1.121 GB, free: 12.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/1.324, allocations: 175.2 kB / 1.121 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/1.324, allocations: 16.59 kB / 1.121 GB, free: 12.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01901/1.343, allocations: 2.17 MB / 1.123 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.343, allocations: 2.219 kB / 1.123 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008219/1.351, allocations: 0.772 MB / 1.124 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/1.352, allocations: 154.1 kB / 1.124 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.352, allocations: 9.531 kB / 1.124 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/1.353, allocations: 28.7 kB / 1.124 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/1.353, allocations: 19.94 kB / 1.124 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/1.353, allocations: 24.73 kB / 1.124 GB, free: 11.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001857/1.355, allocations: 1 MB / 1.125 GB, free: 11.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.042e-06/1.355, allocations: 0 / 1.125 GB, free: 11.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001026/1.356, allocations: 113.3 kB / 1.125 GB, free: 11.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/1.366, allocations: 1.721 MB / 1.127 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003396/1.37, allocations: 0.542 MB / 1.127 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/1.37, allocations: 1.375 kB / 1.127 GB, free: 10.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.372, allocations: 360.5 kB / 1.128 GB, free: 9.895 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.373, allocations: 110.2 kB / 1.128 GB, free: 9.855 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0214/1.394, allocations: 5.493 MB / 1.133 GB, free: 7.086 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009048/1.395, allocations: 0.9828 MB / 1.134 GB, free: 6.273 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007415/1.396, allocations: 88.78 kB / 1.134 GB, free: 6.234 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/1.397, allocations: 263.6 kB / 1.134 GB, free: 6.203 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.397, allocations: 0 / 1.134 GB, free: 6.203 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06146/1.458, allocations: 16.84 MB / 1.151 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004493/1.459, allocations: 241.4 kB / 1.151 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/4.879, allocations: 3.875 kB / 1.151 GB, free: 13.82 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)