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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001361/0.001361, allocations: 184.9 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.528/1.528, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0009652/0.0009651, allocations: 85.98 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.228e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2487, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.759/5.008, allocations: 1.941 GB / 3.153 GB, free: 330.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/5.008, allocations: 82.92 kB / 3.153 GB, free: 330.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/6.687, allocations: 487.2 MB / 3.629 GB, free: 291.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.324e-06/6.687, allocations: 0 / 3.629 GB, free: 291.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002101/6.688, allocations: 49.61 kB / 3.629 GB, free: 291.2 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004567/6.692, allocations: 1.796 MB / 3.631 GB, free: 290 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/6.692, allocations: 13.69 kB / 3.631 GB, free: 290 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005365/6.693, allocations: 229.9 kB / 3.631 GB, free: 289.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/6.696, allocations: 450.8 kB / 3.632 GB, free: 289.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/6.699, allocations: 0.9852 MB / 3.633 GB, free: 288.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/6.699, allocations: 114 kB / 3.633 GB, free: 288.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/6.699, allocations: 152.8 kB / 3.633 GB, free: 288.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003461/6.703, allocations: 1.652 MB / 3.634 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/6.703, allocations: 0 / 3.634 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/6.703, allocations: 69.41 kB / 3.635 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/6.703, allocations: 41.47 kB / 3.635 GB, free: 287.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/6.706, allocations: 1.623 MB / 3.636 GB, free: 287 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009398/6.715, allocations: 5.771 MB / 3.642 GB, free: 282.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/6.717, allocations: 1.414 MB / 3.643 GB, free: 281.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/6.718, allocations: 0.5261 MB / 3.644 GB, free: 281.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008087/6.719, allocations: 0.8885 MB / 3.645 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001089/6.72, allocations: 0.7044 MB / 3.645 GB, free: 279.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=117): time 5.02e-06/6.72, allocations: 0 / 3.645 GB, free: 279.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=117): time 0.002762/6.723, allocations: 1.163 MB / 3.646 GB, free: 279.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/6.723, allocations: 253.7 kB / 3.647 GB, free: 279.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/6.725, allocations: 0.8748 MB / 3.647 GB, free: 278.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/6.725, allocations: 48.83 kB / 3.648 GB, free: 278.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/6.725, allocations: 0.6429 MB / 3.648 GB, free: 278 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/6.726, allocations: 392.9 kB / 3.649 GB, free: 277.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/6.726, allocations: 15.66 kB / 3.649 GB, free: 277.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/6.726, allocations: 355.2 kB / 3.649 GB, free: 277.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/6.726, allocations: 366.2 kB / 3.649 GB, free: 277.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/6.727, allocations: 0.5329 MB / 3.65 GB, free: 276.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006902/6.728, allocations: 446.8 kB / 3.65 GB, free: 276.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/6.728, allocations: 0 / 3.65 GB, free: 276.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002434/6.73, allocations: 1.161 MB / 3.651 GB, free: 276 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/6.73, allocations: 8.25 kB / 3.651 GB, free: 276 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/6.73, allocations: 3.219 kB / 3.651 GB, free: 276 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005959/6.731, allocations: 86.2 kB / 3.651 GB, free: 276 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/6.732, allocations: 265 kB / 3.652 GB, free: 275.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/6.734, allocations: 1.537 MB / 3.653 GB, free: 274.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/6.736, allocations: 149.8 kB / 3.653 GB, free: 273.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/6.736, allocations: 47.97 kB / 3.653 GB, free: 273.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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.0004087/6.736, allocations: 174 kB / 3.653 GB, free: 273.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005007/6.737, allocations: 134.4 kB / 3.654 GB, free: 273.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/6.74, allocations: 1.488 MB / 3.655 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/6.74, allocations: 12 kB / 3.655 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/6.74, allocations: 0 / 3.655 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/6.74, allocations: 3.984 kB / 3.655 GB, free: 272.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005612/6.746, allocations: 3.034 MB / 3.658 GB, free: 269.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/6.746, allocations: 0 / 3.658 GB, free: 269.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/6.747, allocations: 266.7 kB / 3.658 GB, free: 268.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/6.748, allocations: 92.42 kB / 3.658 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/6.748, allocations: 35.94 kB / 3.658 GB, free: 268.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/6.749, allocations: 1.554 MB / 3.66 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/6.749, allocations: 0 / 3.66 GB, free: 267 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/6.752, allocations: 1.972 MB / 3.662 GB, free: 265 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/6.753, allocations: 415.3 kB / 3.662 GB, free: 264.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/6.754, allocations: 28 kB / 3.662 GB, free: 264.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/6.755, allocations: 111.8 kB / 3.662 GB, free: 264.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/6.755, allocations: 89.19 kB / 3.662 GB, free: 264.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/6.755, allocations: 55.95 kB / 3.663 GB, free: 264.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001053/6.756, allocations: 0.6954 MB / 3.663 GB, free: 263.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/6.756, allocations: 0 / 3.663 GB, free: 263.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002134/6.759, allocations: 0.6706 MB / 3.664 GB, free: 262.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006383/6.765, allocations: 4.237 MB / 3.668 GB, free: 259 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001944/6.767, allocations: 1.113 MB / 3.669 GB, free: 257.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/6.767, allocations: 4.203 kB / 3.669 GB, free: 257.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/6.768, allocations: 0.6855 MB / 3.67 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/6.771, allocations: 0.4936 MB / 3.67 GB, free: 256.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006569/6.777, allocations: 2.623 MB / 3.673 GB, free: 254.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000833/6.778, allocations: 1.318 MB / 3.674 GB, free: 252.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001914/6.78, allocations: 435.6 kB / 3.675 GB, free: 252.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008931/6.781, allocations: 0.6398 MB / 3.675 GB, free: 251.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/6.781, allocations: 0 / 3.675 GB, free: 251.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.087/6.868, allocations: 59.94 MB / 3.734 GB, free: 192.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001465/6.868, allocations: 209.4 kB / 3.734 GB, free: 192.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/11.02, allocations: 0 / 3.734 GB, free: 192.1 MB / 1.151 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