Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",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.00131/0.00131, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001265, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 68.06 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.218, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1451/0.3631, allocations: 168.4 MB / 1.217 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.3809, allocations: 17.35 MB / 1.234 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.3817, allocations: 31.81 kB / 1.234 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.383, allocations: 0.5738 MB / 1.235 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003444/0.3864, allocations: 1.786 MB / 1.237 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.389, allocations: 1.433 MB / 1.238 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00212/0.3911, allocations: 2.86 MB / 1.241 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.3929, allocations: 1.944 MB / 1.243 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002825/0.3958, allocations: 1.421 MB / 1.244 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3968, allocations: 1.118 MB / 1.245 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002838/0.3971, allocations: 223.9 kB / 1.245 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.3994, allocations: 1.517 MB / 1.247 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005297/0.4, allocations: 0.7984 MB / 1.248 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.4403/0.8403, allocations: 1.277 MB / 1.249 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003902/0.8442, allocations: 3.665 MB / 1.253 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8442, allocations: 0.5625 kB / 1.253 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8442, allocations: 0.9375 kB / 1.253 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.8443, allocations: 0 / 1.253 GB, free: 8.211 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.003773/0.848, allocations: 2.927 MB / 1.255 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.8481, allocations: 11.94 kB / 1.255 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.8483, allocations: 247.6 kB / 1.256 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/0.8516, allocations: 0.5689 MB / 1.256 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.8544, allocations: 3.389 MB / 1.26 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-05/0.8544, allocations: 133.2 kB / 1.26 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.8546, allocations: 171.2 kB / 1.26 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.8572, allocations: 1.961 MB / 1.262 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.8573, allocations: 3.047 kB / 1.262 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.8574, allocations: 70.5 kB / 1.262 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.8575, allocations: 43.22 kB / 1.262 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/0.8609, allocations: 2.114 MB / 1.264 GB, free: 5.98 MB / 0.9981 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.00858/0.8695, allocations: 6.776 MB / 1.271 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.8726, allocations: 2.132 MB / 1.273 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.8738, allocations: 0.7722 MB / 1.273 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.8742, allocations: 439 kB / 1.274 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/0.8759, allocations: 1.013 MB / 1.275 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.757e-06/0.8759, allocations: 0 / 1.275 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006436/0.8823, allocations: 3.002 MB / 1.278 GB, free: 18.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.8825, allocations: 200.7 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00373/0.8862, allocations: 4.076 MB / 1.282 GB, free: 17.75 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.8863, allocations: 57.11 kB / 1.282 GB, free: 17.72 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.8869, allocations: 0.898 MB / 1.283 GB, free: 17.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.8872, allocations: 483.3 kB / 1.283 GB, free: 17.13 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.8875, allocations: 239.9 kB / 1.283 GB, free: 17.11 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.8876, allocations: 353.3 kB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.8886, allocations: 0.5836 MB / 1.284 GB, free: 16.8 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.8898, allocations: 0.8166 MB / 1.285 GB, free: 16.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.892, allocations: 1.332 MB / 1.286 GB, free: 16.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.892, allocations: 0 / 1.286 GB, free: 16.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003485/0.8955, allocations: 1.795 MB / 1.288 GB, free: 16.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8955, allocations: 13.09 kB / 1.288 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8955, allocations: 1.062 kB / 1.288 GB, free: 16.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/0.8965, allocations: 210.8 kB / 1.288 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.8979, allocations: 334.4 kB / 1.289 GB, free: 16.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/0.9028, allocations: 7.318 MB / 1.296 GB, free: 9.562 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.9041, allocations: 173 kB / 1.296 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/0.9042, allocations: 50.55 kB / 1.296 GB, free: 9.504 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007038/0.9049, allocations: 492.6 kB / 1.297 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.9052, allocations: 194 kB / 1.297 GB, free: 9.289 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.9093, allocations: 2.167 MB / 1.299 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9093, allocations: 13.72 kB / 1.299 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9093, allocations: 3.375 kB / 1.299 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.9093, allocations: 8.438 kB / 1.299 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005787/0.9151, allocations: 4.127 MB / 1.303 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9151, allocations: 3.969 kB / 1.303 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.9164, allocations: 322.6 kB / 1.303 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.9172, allocations: 196.9 kB / 1.303 GB, free: 8.641 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.822e-05/0.9173, allocations: 46.91 kB / 1.303 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/0.9225, allocations: 7.353 MB / 1.311 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9225, allocations: 1.094 kB / 1.311 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.926, allocations: 2.023 MB / 1.313 GB, free: 1.547 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007597/0.9268, allocations: 0.5123 MB / 1.313 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.9271, allocations: 43.25 kB / 1.313 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.9283, allocations: 115.1 kB / 1.313 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/0.9285, allocations: 110.6 kB / 1.313 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/0.9287, allocations: 72.27 kB / 1.313 GB, free: 1.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002443/0.9311, allocations: 3.131 MB / 1.317 GB, free: 1.211 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9311, allocations: 0 / 1.317 GB, free: 1.211 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001691/0.9328, allocations: 0.6879 MB / 1.317 GB, free: 1.109 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00553/0.9383, allocations: 3.242 MB / 1.32 GB, free: 160 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004608/0.943, allocations: 2.507 MB / 1.323 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.943, allocations: 3.844 kB / 1.323 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.9448, allocations: 1.426 MB / 1.324 GB, free: 15 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.947, allocations: 0.5473 MB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02493/0.972, allocations: 22.63 MB / 1.347 GB, free: 9.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.973, allocations: 1.537 MB / 1.348 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001728/0.9747, allocations: 0.5219 MB / 1.349 GB, free: 8.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009429/0.9757, allocations: 0.9036 MB / 1.35 GB, free: 8.641 MB / 1.029 GB Notification: Performance of SimCode: time 9.01e-07/0.9757, allocations: 0 / 1.35 GB, free: 8.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.263/2.239, allocations: 48.93 MB / 1.398 GB, free: 14.54 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/18.43, allocations: 0 / 1.398 GB, free: 14.54 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)