Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.379/2.379, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 184 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.5 MB / 0.7868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 95.73 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.86e-05/1.867e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3206, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.675/4.996, allocations: 1.732 GB / 2.944 GB, free: 133.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/4.996, allocations: 80.73 kB / 2.944 GB, free: 133.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1058/5.102, allocations: 54.26 MB / 2.997 GB, free: 78.68 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.863e-06/5.102, allocations: 0 / 2.997 GB, free: 78.68 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.218e-05/5.102, allocations: 12 kB / 2.997 GB, free: 78.67 MB / 1.151 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.001347/5.104, allocations: 0.8969 MB / 2.998 GB, free: 77.72 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/5.104, allocations: 8.031 kB / 2.998 GB, free: 77.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/5.105, allocations: 194.7 kB / 2.998 GB, free: 77.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/5.106, allocations: 0.5191 MB / 2.999 GB, free: 76.96 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/5.106, allocations: 8 kB / 2.999 GB, free: 76.95 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/5.106, allocations: 23.94 kB / 2.999 GB, free: 76.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004458/5.106, allocations: 284.5 kB / 2.999 GB, free: 76.65 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000379/5.107, allocations: 274.7 kB / 2.999 GB, free: 76.37 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/5.107, allocations: 3.984 kB / 2.999 GB, free: 76.36 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/5.107, allocations: 0 / 2.999 GB, free: 76.36 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/5.107, allocations: 4 kB / 2.999 GB, free: 76.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/5.109, allocations: 1.175 MB / 3.001 GB, free: 75.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/5.109, allocations: 351.1 kB / 3.001 GB, free: 74.78 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/5.11, allocations: 178.8 kB / 3.001 GB, free: 74.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/5.11, allocations: 3.984 kB / 3.001 GB, free: 74.59 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/5.11, allocations: 261.8 kB / 3.001 GB, free: 74.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/5.11, allocations: 0 / 3.001 GB, free: 74.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.002856/5.113, allocations: 0.62 MB / 3.002 GB, free: 73.69 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/5.113, allocations: 92.98 kB / 3.002 GB, free: 73.58 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/5.115, allocations: 1.169 MB / 3.003 GB, free: 72.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/5.115, allocations: 29.7 kB / 3.003 GB, free: 72.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/5.115, allocations: 368.4 kB / 3.003 GB, free: 72.01 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/5.115, allocations: 90.7 kB / 3.004 GB, free: 71.92 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/5.115, allocations: 0 / 3.004 GB, free: 71.92 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001019/5.115, allocations: 317.9 kB / 3.004 GB, free: 71.61 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/5.115, allocations: 143.9 kB / 3.004 GB, free: 71.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/5.116, allocations: 193.9 kB / 3.004 GB, free: 71.25 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/5.116, allocations: 157.6 kB / 3.004 GB, free: 71.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/5.116, allocations: 0 / 3.004 GB, free: 71.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002629/5.119, allocations: 0.6222 MB / 3.005 GB, free: 70.47 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/5.119, allocations: 8 kB / 3.005 GB, free: 70.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/5.119, allocations: 0 / 3.005 GB, free: 70.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004022/5.119, allocations: 124.8 kB / 3.005 GB, free: 70.34 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/5.119, allocations: 67.89 kB / 3.005 GB, free: 70.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/5.123, allocations: 1.787 MB / 3.007 GB, free: 68.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006261/5.123, allocations: 39.75 kB / 3.007 GB, free: 68.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/5.123, allocations: 15.98 kB / 3.007 GB, free: 68.31 MB / 1.151 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 () * 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.000153/5.124, allocations: 122.4 kB / 3.007 GB, free: 68.19 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/5.124, allocations: 82.97 kB / 3.007 GB, free: 68.11 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/5.127, allocations: 0.7429 MB / 3.008 GB, free: 67.34 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/5.127, allocations: 4 kB / 3.008 GB, free: 67.34 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/5.127, allocations: 4 kB / 3.008 GB, free: 67.34 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/5.127, allocations: 3.938 kB / 3.008 GB, free: 67.33 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/5.128, allocations: 0.6019 MB / 3.008 GB, free: 66.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/5.128, allocations: 192 / 3.008 GB, free: 66.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/5.128, allocations: 67.95 kB / 3.009 GB, free: 66.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002978/5.128, allocations: 124.6 kB / 3.009 GB, free: 66.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/5.128, allocations: 11.97 kB / 3.009 GB, free: 66.49 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003202/5.132, allocations: 1.802 MB / 3.01 GB, free: 64.58 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/5.132, allocations: 0 / 3.01 GB, free: 64.58 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/5.134, allocations: 0.7014 MB / 3.011 GB, free: 63.85 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/5.135, allocations: 224 kB / 3.011 GB, free: 63.61 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.858e-05/5.135, allocations: 4 kB / 3.011 GB, free: 63.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/5.135, allocations: 31.92 kB / 3.011 GB, free: 63.57 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/5.135, allocations: 23.97 kB / 3.011 GB, free: 63.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/5.135, allocations: 23.97 kB / 3.011 GB, free: 63.53 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009845/5.136, allocations: 0.9325 MB / 3.012 GB, free: 62.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.136, allocations: 0 / 3.012 GB, free: 62.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007161/5.137, allocations: 199.8 kB / 3.013 GB, free: 62.4 MB / 1.151 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) * 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.001561/5.139, allocations: 0.9425 MB / 3.013 GB, free: 61.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008048/5.139, allocations: 489.4 kB / 3.014 GB, free: 61.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/5.139, allocations: 0 / 3.014 GB, free: 61.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004265/5.14, allocations: 337.6 kB / 3.014 GB, free: 60.71 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005831/5.14, allocations: 99.97 kB / 3.014 GB, free: 60.62 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/5.142, allocations: 1.366 MB / 3.016 GB, free: 59.22 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/5.143, allocations: 0.9927 MB / 3.017 GB, free: 58.21 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003794/5.143, allocations: 139 kB / 3.017 GB, free: 58.07 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/5.143, allocations: 55.31 kB / 3.017 GB, free: 58.02 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/5.143, allocations: 0 / 3.017 GB, free: 58.02 MB / 1.151 GB Notification: Performance of Templates: time 0.02067/5.164, allocations: 14.1 MB / 3.031 GB, free: 43.95 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches