Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.154/2.154, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001302/0.001302, allocations: 177 kB / 492.3 MB, free: 0.6094 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.403/1.403, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009853/0.0009852, allocations: 98.52 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.909e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2763, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.762/5.039, allocations: 1.732 GB / 2.944 GB, free: 119.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/5.039, allocations: 79.33 kB / 2.944 GB, free: 119.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1098/5.149, allocations: 55.08 MB / 2.998 GB, free: 69.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.114e-06/5.149, allocations: 4 kB / 2.998 GB, free: 69.39 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001022/5.149, allocations: 12 kB / 2.998 GB, free: 69.38 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.002053/5.151, allocations: 0.8959 MB / 2.999 GB, free: 68.44 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/5.151, allocations: 12.03 kB / 2.999 GB, free: 68.43 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/5.151, allocations: 50.53 kB / 2.999 GB, free: 68.37 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001653/5.153, allocations: 194.8 kB / 2.999 GB, free: 68.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/5.155, allocations: 0.5268 MB / 3 GB, free: 67.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/5.155, allocations: 16.31 kB / 3 GB, free: 67.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/5.155, allocations: 20 kB / 3 GB, free: 67.57 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/5.155, allocations: 307 kB / 3 GB, free: 67.26 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/5.155, allocations: 0 / 3 GB, free: 67.26 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/5.155, allocations: 15.98 kB / 3 GB, free: 67.24 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/5.155, allocations: 4 kB / 3 GB, free: 67.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005464/5.156, allocations: 292.8 kB / 3 GB, free: 66.95 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002747/5.159, allocations: 1.211 MB / 3.002 GB, free: 65.68 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/5.159, allocations: 367.9 kB / 3.002 GB, free: 65.31 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/5.16, allocations: 185.6 kB / 3.002 GB, free: 65.12 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/5.16, allocations: 7.984 kB / 3.002 GB, free: 65.11 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004026/5.16, allocations: 282.7 kB / 3.002 GB, free: 64.82 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 2.816e-06/5.16, allocations: 0 / 3.002 GB, free: 64.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.002947/5.163, allocations: 0.6154 MB / 3.003 GB, free: 64.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/5.163, allocations: 85.05 kB / 3.003 GB, free: 64.09 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/5.165, allocations: 1.219 MB / 3.004 GB, free: 62.87 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.539e-05/5.165, allocations: 37.7 kB / 3.004 GB, free: 62.82 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/5.165, allocations: 364.6 kB / 3.005 GB, free: 62.46 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.092e-05/5.166, allocations: 98.64 kB / 3.005 GB, free: 62.37 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/5.166, allocations: 8 kB / 3.005 GB, free: 62.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001059/5.166, allocations: 317.9 kB / 3.005 GB, free: 62.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/5.166, allocations: 151.9 kB / 3.005 GB, free: 61.89 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/5.166, allocations: 194 kB / 3.005 GB, free: 61.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/5.166, allocations: 160.7 kB / 3.005 GB, free: 61.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/5.166, allocations: 3.938 kB / 3.005 GB, free: 61.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002714/5.169, allocations: 0.626 MB / 3.006 GB, free: 60.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/5.169, allocations: 8 kB / 3.006 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/5.169, allocations: 0 / 3.006 GB, free: 60.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/5.17, allocations: 140.7 kB / 3.006 GB, free: 60.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/5.17, allocations: 59.91 kB / 3.006 GB, free: 60.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/5.174, allocations: 1.861 MB / 3.008 GB, free: 58.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/5.174, allocations: 47.83 kB / 3.008 GB, free: 58.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-05/5.174, allocations: 19.98 kB / 3.008 GB, free: 58.62 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.0001493/5.175, allocations: 129 kB / 3.008 GB, free: 58.49 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/5.175, allocations: 82.97 kB / 3.008 GB, free: 58.41 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/5.178, allocations: 0.7587 MB / 3.009 GB, free: 57.64 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/5.178, allocations: 4 kB / 3.009 GB, free: 57.63 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/5.178, allocations: 3.953 kB / 3.009 GB, free: 57.63 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/5.178, allocations: 0 / 3.009 GB, free: 57.63 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/5.178, allocations: 0.6483 MB / 3.01 GB, free: 56.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/5.178, allocations: 0 / 3.01 GB, free: 56.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/5.179, allocations: 59.91 kB / 3.01 GB, free: 56.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003163/5.179, allocations: 124.7 kB / 3.01 GB, free: 56.75 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/5.179, allocations: 15.98 kB / 3.01 GB, free: 56.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/5.183, allocations: 1.881 MB / 3.012 GB, free: 54.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/5.183, allocations: 0 / 3.012 GB, free: 54.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/5.185, allocations: 0.703 MB / 3.012 GB, free: 53.98 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/5.186, allocations: 228 kB / 3.013 GB, free: 53.74 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/5.186, allocations: 8 kB / 3.013 GB, free: 53.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/5.186, allocations: 39.88 kB / 3.013 GB, free: 53.69 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/5.187, allocations: 27.91 kB / 3.013 GB, free: 53.66 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/5.187, allocations: 23.91 kB / 3.013 GB, free: 53.64 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001164/5.188, allocations: 0.9833 MB / 3.014 GB, free: 52.66 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.188, allocations: 3.938 kB / 3.014 GB, free: 52.66 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000922/5.189, allocations: 223.9 kB / 3.014 GB, free: 52.44 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.005177/5.194, allocations: 2.097 MB / 3.016 GB, free: 50.43 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009829/5.195, allocations: 0.5025 MB / 3.016 GB, free: 49.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/5.195, allocations: 8.125 kB / 3.016 GB, free: 49.91 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004971/5.195, allocations: 346.3 kB / 3.017 GB, free: 49.56 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/5.196, allocations: 109.4 kB / 3.017 GB, free: 49.45 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/5.199, allocations: 1.588 MB / 3.018 GB, free: 47.82 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/5.199, allocations: 0.9849 MB / 3.019 GB, free: 46.81 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004235/5.2, allocations: 138.7 kB / 3.02 GB, free: 46.68 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/5.2, allocations: 263.2 kB / 3.02 GB, free: 46.42 MB / 1.151 GB Notification: Performance of SimCode: time 6.31e-07/5.2, allocations: 3.938 kB / 3.02 GB, free: 46.41 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05011/5.25, allocations: 30.3 MB / 3.049 GB, free: 16.29 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/5.25, allocations: 209.4 kB / 3.05 GB, free: 16.07 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/8.402, allocations: 4 kB / 3.05 GB, free: 16.06 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat does not exist to compare? outputFormat=mat