Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",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.312/2.312, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00117/0.00117, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.699/1.699, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 87.92 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.98e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3002, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.775/6.075, allocations: 1.937 GB / 3.143 GB, free: 413.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/6.076, allocations: 87.94 kB / 3.143 GB, free: 413.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2969/6.373, allocations: 150.9 MB / 3.291 GB, free: 260.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/6.373, allocations: 4 kB / 3.291 GB, free: 260.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001734/6.373, allocations: 27.94 kB / 3.291 GB, free: 260.5 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003009/6.376, allocations: 1.343 MB / 3.292 GB, free: 259.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/6.376, allocations: 8.031 kB / 3.292 GB, free: 259.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/6.378, allocations: 270.2 kB / 3.292 GB, free: 258.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/6.379, allocations: 0.8148 MB / 3.293 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/6.379, allocations: 28 kB / 3.293 GB, free: 258 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/6.379, allocations: 56 kB / 3.293 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001688/6.381, allocations: 1.128 MB / 3.294 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/6.382, allocations: 0.8676 MB / 3.295 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/6.382, allocations: 0 / 3.295 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/6.382, allocations: 0 / 3.295 GB, free: 255.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/6.382, allocations: 24 kB / 3.295 GB, free: 255.9 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.004105/6.387, allocations: 2.958 MB / 3.298 GB, free: 252.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/6.388, allocations: 0.9012 MB / 3.299 GB, free: 251.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/6.388, allocations: 327.5 kB / 3.299 GB, free: 251.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/6.388, allocations: 133.9 kB / 3.3 GB, free: 251.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/6.389, allocations: 479.7 kB / 3.3 GB, free: 250.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=86): time 2.465e-06/6.389, allocations: 0 / 3.3 GB, free: 250.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=86): time 0.001925/6.391, allocations: 0.8365 MB / 3.301 GB, free: 250.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/6.391, allocations: 244.1 kB / 3.301 GB, free: 249.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008792/6.392, allocations: 0.7146 MB / 3.302 GB, free: 249.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/6.392, allocations: 25.7 kB / 3.302 GB, free: 249.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/6.392, allocations: 452.2 kB / 3.302 GB, free: 248.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/6.393, allocations: 275.8 kB / 3.302 GB, free: 248.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/6.393, allocations: 0 / 3.302 GB, free: 248.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/6.393, allocations: 334 kB / 3.303 GB, free: 248 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/6.393, allocations: 253.5 kB / 3.303 GB, free: 247.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004099/6.393, allocations: 378.1 kB / 3.303 GB, free: 247.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/6.394, allocations: 304.4 kB / 3.304 GB, free: 247 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.394, allocations: 0 / 3.304 GB, free: 247 MB / 1.151 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001596/6.396, allocations: 0.8248 MB / 3.304 GB, free: 246.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/6.396, allocations: 8 kB / 3.304 GB, free: 246.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/6.396, allocations: 0 / 3.304 GB, free: 246.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007211/6.396, allocations: 113.7 kB / 3.305 GB, free: 246.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007877/6.397, allocations: 187.6 kB / 3.305 GB, free: 245.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/6.399, allocations: 2.738 MB / 3.307 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/6.4, allocations: 79.48 kB / 3.307 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-05/6.4, allocations: 39.97 kB / 3.308 GB, free: 242.8 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: 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 (87): * Single equations (assignments): 85 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002108/6.401, allocations: 116.9 kB / 3.308 GB, free: 242.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001645/6.402, allocations: 0.8248 MB / 3.308 GB, free: 241.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/6.402, allocations: 91.11 kB / 3.309 GB, free: 241.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/6.405, allocations: 1.109 MB / 3.31 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/6.405, allocations: 12 kB / 3.31 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/6.405, allocations: 0 / 3.31 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/6.405, allocations: 3.984 kB / 3.31 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/6.408, allocations: 2.097 MB / 3.312 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/6.408, allocations: 0 / 3.312 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/6.409, allocations: 195.8 kB / 3.312 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006055/6.41, allocations: 113.6 kB / 3.312 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/6.41, allocations: 15.98 kB / 3.312 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/6.412, allocations: 2.761 MB / 3.315 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/6.412, allocations: 4.062 kB / 3.315 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/6.414, allocations: 1.009 MB / 3.316 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/6.415, allocations: 339.5 kB / 3.316 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/6.415, allocations: 96 / 3.316 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000732/6.416, allocations: 83.81 kB / 3.316 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/6.416, allocations: 65.22 kB / 3.316 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/6.416, allocations: 43.97 kB / 3.316 GB, free: 233.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007967/6.417, allocations: 0.5616 MB / 3.317 GB, free: 233 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.7e-07/6.417, allocations: 4 kB / 3.317 GB, free: 233 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002221/6.419, allocations: 490.8 kB / 3.317 GB, free: 232.5 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: 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 (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004994/6.424, allocations: 2.876 MB / 3.32 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001702/6.426, allocations: 0.9018 MB / 3.321 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/6.426, allocations: 0 / 3.321 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008286/6.426, allocations: 0.6215 MB / 3.322 GB, free: 228.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/6.428, allocations: 260.6 kB / 3.322 GB, free: 227.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/6.433, allocations: 1.824 MB / 3.324 GB, free: 226.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/6.434, allocations: 1.106 MB / 3.325 GB, free: 224.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001197/6.435, allocations: 310.7 kB / 3.325 GB, free: 224.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006557/6.436, allocations: 439.2 kB / 3.325 GB, free: 224.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/6.436, allocations: 0 / 3.325 GB, free: 224.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06256/6.498, allocations: 31.15 MB / 3.356 GB, free: 193.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/6.499, allocations: 181.7 kB / 3.356 GB, free: 193 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.122/9.621, allocations: 0 / 3.356 GB, free: 193 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat does not exist to compare? outputFormat=mat