Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.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.001216/0.001216, allocations: 172.2 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.4 MB / 0.6366 GB, free: 9.582 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008727/0.0008728, allocations: 90.08 kB / 0.7509 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003827, allocations: 11.98 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3141, allocations: 116.3 MB / 0.9884 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.529/6.843, allocations: 2.075 GB / 3.064 GB, free: 107 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/6.843, allocations: 89.8 kB / 3.064 GB, free: 106.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.112/6.955, allocations: 56.54 MB / 3.119 GB, free: 50.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.934e-06/6.955, allocations: 0 / 3.119 GB, free: 50.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.187e-05/6.955, allocations: 19.98 kB / 3.119 GB, free: 50.84 MB / 0.948 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.001402/6.957, allocations: 1.05 MB / 3.12 GB, free: 49.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/6.957, allocations: 12.02 kB / 3.12 GB, free: 49.72 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.118e-05/6.957, allocations: 54.55 kB / 3.12 GB, free: 49.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/6.958, allocations: 190.8 kB / 3.12 GB, free: 49.47 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009044/6.959, allocations: 0.5307 MB / 3.121 GB, free: 48.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/6.959, allocations: 16.38 kB / 3.121 GB, free: 48.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/6.959, allocations: 16 kB / 3.121 GB, free: 48.87 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/6.96, allocations: 342.9 kB / 3.121 GB, free: 48.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/6.96, allocations: 3.984 kB / 3.121 GB, free: 48.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/6.96, allocations: 11.98 kB / 3.121 GB, free: 48.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/6.96, allocations: 4 kB / 3.121 GB, free: 48.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/6.961, allocations: 364.6 kB / 3.122 GB, free: 48.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002045/6.963, allocations: 1.216 MB / 3.123 GB, free: 46.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/6.964, allocations: 417.4 kB / 3.123 GB, free: 46.45 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/6.965, allocations: 8 kB / 3.123 GB, free: 46.45 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/6.965, allocations: 304.8 kB / 3.123 GB, free: 46.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/6.965, allocations: 3.938 kB / 3.123 GB, free: 46.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.009322/6.975, allocations: 1.22 MB / 3.125 GB, free: 44.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/6.975, allocations: 89.05 kB / 3.125 GB, free: 44.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/6.976, allocations: 1.231 MB / 3.126 GB, free: 43.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/6.977, allocations: 29.7 kB / 3.126 GB, free: 43.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000236/6.977, allocations: 364.4 kB / 3.126 GB, free: 43.14 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/6.977, allocations: 102.6 kB / 3.126 GB, free: 43.04 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/6.977, allocations: 8 kB / 3.126 GB, free: 43.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/6.977, allocations: 321.9 kB / 3.127 GB, free: 42.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/6.978, allocations: 179.9 kB / 3.127 GB, free: 42.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/6.978, allocations: 229.9 kB / 3.127 GB, free: 42.29 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/6.979, allocations: 185.7 kB / 3.127 GB, free: 42.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/6.979, allocations: 0 / 3.127 GB, free: 42.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004085/6.983, allocations: 0.7204 MB / 3.128 GB, free: 41.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/6.983, allocations: 6.344 kB / 3.128 GB, free: 41.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/6.983, allocations: 4 kB / 3.128 GB, free: 41.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/6.984, allocations: 188.6 kB / 3.128 GB, free: 41.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003483/6.984, allocations: 55.95 kB / 3.128 GB, free: 41.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007965/6.992, allocations: 2.181 MB / 3.13 GB, free: 38.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007918/6.993, allocations: 43.89 kB / 3.13 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/6.993, allocations: 19.92 kB / 3.13 GB, free: 38.75 MB / 0.948 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.0005829/6.994, allocations: 294.2 kB / 3.131 GB, free: 38.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/6.994, allocations: 78.97 kB / 3.131 GB, free: 38.38 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/6.999, allocations: 0.868 MB / 3.132 GB, free: 37.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/6.999, allocations: 4 kB / 3.132 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/6.999, allocations: 0 / 3.132 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/6.999, allocations: 3.953 kB / 3.132 GB, free: 37.48 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006221/6.999, allocations: 0.6508 MB / 3.132 GB, free: 36.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/6.999, allocations: 0 / 3.132 GB, free: 36.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/7, allocations: 59.91 kB / 3.132 GB, free: 36.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009889/7.001, allocations: 180.6 kB / 3.133 GB, free: 36.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/7.001, allocations: 19.97 kB / 3.133 GB, free: 36.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007693/7.008, allocations: 2.166 MB / 3.135 GB, free: 34.23 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/7.008, allocations: 4.031 kB / 3.135 GB, free: 34.22 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004341/7.013, allocations: 0.8013 MB / 3.135 GB, free: 33.39 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/7.013, allocations: 235.8 kB / 3.136 GB, free: 33.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/7.013, allocations: 12 kB / 3.136 GB, free: 33.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000481/7.014, allocations: 27.98 kB / 3.136 GB, free: 33.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/7.014, allocations: 31.89 kB / 3.136 GB, free: 33.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/7.014, allocations: 15.98 kB / 3.136 GB, free: 33.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001046/7.015, allocations: 0.991 MB / 3.137 GB, free: 32.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.015, allocations: 4 kB / 3.137 GB, free: 32.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007768/7.016, allocations: 219.8 kB / 3.137 GB, free: 31.85 MB / 0.948 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * 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.00603/7.022, allocations: 2.239 MB / 3.139 GB, free: 29.71 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001746/7.024, allocations: 0.5731 MB / 3.14 GB, free: 29.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/7.024, allocations: 0 / 3.14 GB, free: 29.12 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008949/7.024, allocations: 382.4 kB / 3.14 GB, free: 28.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/7.025, allocations: 103.2 kB / 3.14 GB, free: 28.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/7.035, allocations: 5.715 MB / 3.146 GB, free: 22.75 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/7.035, allocations: 0.9851 MB / 3.147 GB, free: 21.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005061/7.036, allocations: 134.7 kB / 3.147 GB, free: 21.61 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/7.036, allocations: 263.2 kB / 3.147 GB, free: 21.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/7.036, allocations: 7.938 kB / 3.147 GB, free: 21.35 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5654/7.601, allocations: 28.41 MB / 3.175 GB, free: 258.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/7.602, allocations: 248.1 kB / 3.175 GB, free: 258 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/10.44, allocations: 2.781 kB / 3.175 GB, free: 258 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)