Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009591, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.291/2.291, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 15.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6864, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1741/0.8605, allocations: 146.5 MB / 1.097 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.8775, allocations: 13.06 MB / 1.109 GB, free: 236 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.8792, allocations: 27.81 kB / 1.109 GB, free: 208 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.8806, allocations: 373.9 kB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.8846, allocations: 1.385 MB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.8875, allocations: 1.053 MB / 1.112 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002674/0.8902, allocations: 1.639 MB / 1.114 GB, free: 11.76 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.892, allocations: 1.412 MB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.8938, allocations: 0.9926 MB / 1.116 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009094/0.8947, allocations: 0.6492 MB / 1.117 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.8949, allocations: 52 kB / 1.117 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.8969, allocations: 0.8308 MB / 1.118 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.8972, allocations: 374.6 kB / 1.118 GB, free: 7.422 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003575/0.8976, allocations: 344.7 kB / 1.118 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.8999, allocations: 2.112 MB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.8999, allocations: 3.938 kB / 1.12 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8999, allocations: 0 / 1.12 GB, free: 4.957 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.215e-05/0.8999, allocations: 0 / 1.12 GB, free: 4.957 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003355/0.9033, allocations: 1.918 MB / 1.122 GB, free: 2.977 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.9033, allocations: 8.031 kB / 1.122 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002722/0.9036, allocations: 240.3 kB / 1.122 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002975/0.9066, allocations: 473.2 kB / 1.123 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.9086, allocations: 1.067 MB / 1.124 GB, free: 1.148 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.9087, allocations: 119.2 kB / 1.124 GB, free: 1.031 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.9089, allocations: 160 kB / 1.124 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003025/0.9119, allocations: 1.753 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.912, allocations: 4 kB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.9121, allocations: 68 kB / 1.126 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/0.9122, allocations: 52 kB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.9152, allocations: 1.768 MB / 1.128 GB, free: 13.15 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009071/0.9243, allocations: 5.875 MB / 1.134 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.9269, allocations: 1.39 MB / 1.135 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.9275, allocations: 0.6256 MB / 1.135 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/0.9289, allocations: 0.7932 MB / 1.136 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=126): time 3.086e-06/0.9289, allocations: 0 / 1.136 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126): time 0.004638/0.9336, allocations: 1.884 MB / 1.138 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.9337, allocations: 192.9 kB / 1.138 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.9351, allocations: 0.9797 MB / 1.139 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.9353, allocations: 57.7 kB / 1.139 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005366/0.9358, allocations: 0.6529 MB / 1.14 GB, free: 160 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.9362, allocations: 418 kB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.9362, allocations: 20 kB / 1.14 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9364, allocations: 353.9 kB / 1.141 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008423/0.9372, allocations: 422.4 kB / 1.141 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00099/0.9382, allocations: 0.5936 MB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009665/0.9392, allocations: 0.4904 MB / 1.142 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.9392, allocations: 0 / 1.142 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002865/0.9421, allocations: 1.289 MB / 1.143 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.9421, allocations: 4 kB / 1.143 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.9421, allocations: 4 kB / 1.143 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/0.9427, allocations: 84.94 kB / 1.144 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.9441, allocations: 287.6 kB / 1.144 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.9462, allocations: 1.544 MB / 1.145 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.9477, allocations: 184.5 kB / 1.145 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.925e-05/0.9478, allocations: 43.97 kB / 1.146 GB, free: 10.24 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.000799/0.9486, allocations: 373.4 kB / 1.146 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.9489, allocations: 134.4 kB / 1.146 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.9524, allocations: 1.621 MB / 1.148 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.9524, allocations: 16 kB / 1.148 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9524, allocations: 0 / 1.148 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.9524, allocations: 7.969 kB / 1.148 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.9575, allocations: 2.99 MB / 1.151 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.9576, allocations: 0 / 1.151 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/0.9589, allocations: 283.8 kB / 1.151 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.9594, allocations: 84.78 kB / 1.151 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.671e-05/0.9595, allocations: 43.97 kB / 1.151 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/0.9614, allocations: 1.575 MB / 1.152 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.9614, allocations: 3.938 kB / 1.152 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.9657, allocations: 2.291 MB / 1.155 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008654/0.9666, allocations: 414.9 kB / 1.155 GB, free: 100 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.9668, allocations: 24 kB / 1.155 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.968, allocations: 136.5 kB / 1.155 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/0.9682, allocations: 97.17 kB / 1.155 GB, free: 15.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.9684, allocations: 64.02 kB / 1.155 GB, free: 15.78 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009497/0.9693, allocations: 0.6763 MB / 1.156 GB, free: 15.1 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9693, allocations: 0 / 1.156 GB, free: 15.1 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001392/0.9707, allocations: 0.5258 MB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006076/0.9768, allocations: 3.863 MB / 1.16 GB, free: 10.83 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00248/0.9793, allocations: 1.232 MB / 1.162 GB, free: 9.586 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9793, allocations: 448 / 1.162 GB, free: 9.586 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001367/0.9807, allocations: 0.7795 MB / 1.162 GB, free: 8.797 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.983, allocations: 0.5041 MB / 1.163 GB, free: 8.301 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/1, allocations: 9.813 MB / 1.172 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/1.001, allocations: 1.344 MB / 1.174 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00204/1.003, allocations: 438.8 kB / 1.174 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009724/1.004, allocations: 0.6515 MB / 1.175 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of SimCode: time 9.12e-07/1.004, allocations: 0 / 1.175 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06353/1.068, allocations: 36.68 MB / 1.211 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/1.068, allocations: 254.5 kB / 1.211 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.771, allocations: 4 kB / 1.211 GB, free: 7.168 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat does not exist to compare? outputFormat=mat