Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.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.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Examples.Fanger,fileNamePrefix="Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger",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.124/2.124, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001047/0.001047, allocations: 184.1 kB / 492.3 MB, free: 0.5938 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.421/1.421, allocations: 221.3 MB / 0.7872 GB, free: 12.86 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.0008977/0.000898, allocations: 90.58 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.472e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2471, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.869/5.116, allocations: 1.729 GB / 2.941 GB, free: 110.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/5.116, allocations: 79.52 kB / 2.941 GB, free: 110.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1071/5.223, allocations: 50.96 MB / 2.991 GB, free: 64.56 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.705e-06/5.223, allocations: 0 / 2.991 GB, free: 64.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.383e-05/5.224, allocations: 8 kB / 2.991 GB, free: 64.55 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001653/5.225, allocations: 0.6434 MB / 2.992 GB, free: 63.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/5.225, allocations: 12.03 kB / 2.992 GB, free: 63.85 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/5.225, allocations: 66.53 kB / 2.992 GB, free: 63.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/5.228, allocations: 243.3 kB / 2.992 GB, free: 63.54 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/5.229, allocations: 299.4 kB / 2.992 GB, free: 63.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/5.229, allocations: 32.48 kB / 2.992 GB, free: 63.17 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/5.229, allocations: 31.95 kB / 2.992 GB, free: 63.14 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007052/5.23, allocations: 348.7 kB / 2.993 GB, free: 62.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/5.23, allocations: 0 / 2.993 GB, free: 62.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/5.23, allocations: 12 kB / 2.993 GB, free: 62.78 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/5.23, allocations: 4 kB / 2.993 GB, free: 62.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007611/5.231, allocations: 390.1 kB / 2.993 GB, free: 62.39 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/5.234, allocations: 1.153 MB / 2.994 GB, free: 61.19 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/5.234, allocations: 327.8 kB / 2.995 GB, free: 60.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/5.235, allocations: 156.8 kB / 2.995 GB, free: 60.71 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/5.235, allocations: 3.984 kB / 2.995 GB, free: 60.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/5.235, allocations: 38.56 kB / 2.995 GB, free: 60.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/5.235, allocations: 3.938 kB / 2.995 GB, free: 60.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.004704/5.239, allocations: 0.6522 MB / 2.995 GB, free: 59.99 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/5.239, allocations: 55.41 kB / 2.995 GB, free: 59.92 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/5.24, allocations: 266.8 kB / 2.996 GB, free: 59.66 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/5.24, allocations: 29.7 kB / 2.996 GB, free: 59.62 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/5.24, allocations: 172.2 kB / 2.996 GB, free: 59.45 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.12e-05/5.24, allocations: 90.69 kB / 2.996 GB, free: 59.36 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/5.24, allocations: 8 kB / 2.996 GB, free: 59.36 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/5.24, allocations: 342.8 kB / 2.996 GB, free: 59.01 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/5.24, allocations: 128.5 kB / 2.996 GB, free: 58.88 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/5.241, allocations: 183.1 kB / 2.997 GB, free: 58.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/5.241, allocations: 144.4 kB / 2.997 GB, free: 58.54 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/5.241, allocations: 0 / 2.997 GB, free: 58.54 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004536/5.245, allocations: 0.7014 MB / 2.997 GB, free: 57.83 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/5.245, allocations: 8 kB / 2.997 GB, free: 57.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/5.245, allocations: 4 kB / 2.997 GB, free: 57.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/5.246, allocations: 173.6 kB / 2.998 GB, free: 57.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/5.246, allocations: 67.88 kB / 2.998 GB, free: 57.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006941/5.253, allocations: 3.29 MB / 3.001 GB, free: 54.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/5.254, allocations: 79.52 kB / 3.001 GB, free: 53.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/5.254, allocations: 15.97 kB / 3.001 GB, free: 53.92 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/5.254, allocations: 124.9 kB / 3.001 GB, free: 53.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.533e-05/5.255, allocations: 31.62 kB / 3.001 GB, free: 53.76 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004738/5.259, allocations: 0.7602 MB / 3.002 GB, free: 52.99 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/5.259, allocations: 7.984 kB / 3.002 GB, free: 52.98 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/5.259, allocations: 0 / 3.002 GB, free: 52.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/5.259, allocations: 3.953 kB / 3.002 GB, free: 52.98 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/5.26, allocations: 417.1 kB / 3.002 GB, free: 52.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-06/5.26, allocations: 4 kB / 3.002 GB, free: 52.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/5.26, allocations: 55.89 kB / 3.002 GB, free: 52.46 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005048/5.261, allocations: 169.5 kB / 3.002 GB, free: 52.29 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/5.261, allocations: 15.97 kB / 3.003 GB, free: 52.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006371/5.267, allocations: 3.298 MB / 3.006 GB, free: 48.71 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/5.267, allocations: 96 / 3.006 GB, free: 48.71 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/5.272, allocations: 0.7696 MB / 3.006 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/5.272, allocations: 108.7 kB / 3.007 GB, free: 47.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/5.272, allocations: 4 kB / 3.007 GB, free: 47.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007329/5.273, allocations: 47.95 kB / 3.007 GB, free: 47.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/5.273, allocations: 23.97 kB / 3.007 GB, free: 47.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/5.273, allocations: 15.97 kB / 3.007 GB, free: 47.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002439/5.273, allocations: 222.2 kB / 3.007 GB, free: 47.48 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.273, allocations: 0 / 3.007 GB, free: 47.48 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009422/5.274, allocations: 159.9 kB / 3.007 GB, free: 47.32 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005685/5.28, allocations: 1.807 MB / 3.009 GB, free: 45.49 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001175/5.281, allocations: 0.587 MB / 3.009 GB, free: 44.88 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.281, allocations: 4 kB / 3.009 GB, free: 44.88 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000681/5.282, allocations: 429.2 kB / 3.01 GB, free: 44.43 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006087/5.282, allocations: 100.1 kB / 3.01 GB, free: 44.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/5.284, allocations: 0.5372 MB / 3.01 GB, free: 43.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/5.284, allocations: 0.7803 MB / 3.011 GB, free: 42.96 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004799/5.285, allocations: 78.88 kB / 3.011 GB, free: 42.88 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/5.285, allocations: 99.38 kB / 3.011 GB, free: 42.79 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/5.285, allocations: 0 / 3.011 GB, free: 42.79 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/5.332, allocations: 27.12 MB / 3.038 GB, free: 15.84 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/5.332, allocations: 176.8 kB / 3.038 GB, free: 15.61 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/8.288, allocations: 3.938 kB / 3.038 GB, free: 15.61 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Comfort_Examples_Fanger.fmu > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat does not exist to compare? outputFormat=mat