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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.006302/0.006302, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.00171/0.00171, allocations: 199.4 kB / 16.68 MB, free: 5.961 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.595/2.595, allocations: 482.6 MB / 0.755 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.89 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2611, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6507/0.9119, allocations: 168.5 MB / 1.406 GB, free: 7.191 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01934/0.9313, allocations: 17.36 MB / 1.423 GB, free: 9.168 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000822/0.9321, allocations: 30.81 kB / 1.423 GB, free: 9.156 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.9334, allocations: 0.568 MB / 1.424 GB, free: 8.672 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.9371, allocations: 1.783 MB / 1.426 GB, free: 7.336 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.9398, allocations: 1.448 MB / 1.427 GB, free: 6.246 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002454/0.9422, allocations: 2.89 MB / 1.43 GB, free: 4.508 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001905/0.9441, allocations: 1.946 MB / 1.432 GB, free: 3.219 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003005/0.9471, allocations: 1.424 MB / 1.433 GB, free: 2.434 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.9482, allocations: 1.099 MB / 1.434 GB, free: 1.699 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.9485, allocations: 222.8 kB / 1.434 GB, free: 1.699 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.9509, allocations: 1.559 MB / 1.436 GB, free: 372 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006525/0.9515, allocations: 0.8024 MB / 1.437 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.9527, allocations: 1.275 MB / 1.438 GB, free: 14.27 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003735/0.9564, allocations: 3.756 MB / 1.442 GB, free: 10.51 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.9564, allocations: 0 / 1.442 GB, free: 10.51 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.052e-06/0.9564, allocations: 0 / 1.442 GB, free: 10.51 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.073e-05/0.9565, allocations: 0 / 1.442 GB, free: 10.51 MB / 1.139 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.00418/0.9606, allocations: 3.005 MB / 1.445 GB, free: 7.438 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.9607, allocations: 12.02 kB / 1.445 GB, free: 7.426 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002665/0.9609, allocations: 248.9 kB / 1.445 GB, free: 7.172 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.9641, allocations: 0.5876 MB / 1.445 GB, free: 6.582 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.9677, allocations: 3.446 MB / 1.449 GB, free: 3.086 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.9678, allocations: 127.4 kB / 1.449 GB, free: 2.961 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/0.968, allocations: 172 kB / 1.449 GB, free: 2.793 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/0.971, allocations: 1.956 MB / 1.451 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.971, allocations: 3.938 kB / 1.451 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.9712, allocations: 75.98 kB / 1.451 GB, free: 0.707 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.9712, allocations: 44 kB / 1.451 GB, free: 0.6641 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.9746, allocations: 2.109 MB / 1.453 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008272/0.9829, allocations: 6.932 MB / 1.46 GB, free: 7.23 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.9861, allocations: 2.127 MB / 1.462 GB, free: 5.02 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.9874, allocations: 0.7803 MB / 1.463 GB, free: 4.238 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/0.9879, allocations: 425.6 kB / 1.463 GB, free: 3.746 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001632/0.9895, allocations: 1.019 MB / 1.464 GB, free: 2.711 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 2.785e-06/0.9895, allocations: 0 / 1.464 GB, free: 2.711 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.006254/0.9958, allocations: 3.017 MB / 1.467 GB, free: 15.58 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.9959, allocations: 197.2 kB / 1.467 GB, free: 15.34 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/1, allocations: 4.081 MB / 1.471 GB, free: 11.25 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/1, allocations: 53.7 kB / 1.471 GB, free: 11.2 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007033/1.001, allocations: 0.9192 MB / 1.472 GB, free: 10.27 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/1.001, allocations: 0.4918 MB / 1.473 GB, free: 9.773 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/1.002, allocations: 238.8 kB / 1.473 GB, free: 9.535 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001471/1.002, allocations: 357.9 kB / 1.473 GB, free: 9.18 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/1.003, allocations: 0.5804 MB / 1.474 GB, free: 8.598 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.004, allocations: 0.8125 MB / 1.475 GB, free: 7.723 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/1.007, allocations: 1.333 MB / 1.476 GB, free: 6.379 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.007, allocations: 0 / 1.476 GB, free: 6.379 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003584/1.01, allocations: 1.812 MB / 1.478 GB, free: 4.543 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.01, allocations: 8 kB / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.01, allocations: 0 / 1.478 GB, free: 4.535 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009424/1.011, allocations: 208.1 kB / 1.478 GB, free: 4.316 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/1.012, allocations: 335.5 kB / 1.478 GB, free: 3.988 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/1.018, allocations: 7.324 MB / 1.485 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.019, allocations: 167.2 kB / 1.486 GB, free: 11.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.02, allocations: 51.95 kB / 1.486 GB, free: 11.75 MB / 1.186 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.0006432/1.02, allocations: 489.4 kB / 1.486 GB, free: 11.26 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/1.021, allocations: 198.7 kB / 1.486 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/1.025, allocations: 2.165 MB / 1.488 GB, free: 8.871 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.025, allocations: 16 kB / 1.488 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.025, allocations: 0 / 1.488 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.025, allocations: 8.016 kB / 1.488 GB, free: 8.848 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006195/1.031, allocations: 4.146 MB / 1.492 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/1.031, allocations: 0 / 1.492 GB, free: 4.625 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.032, allocations: 319.6 kB / 1.493 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007948/1.033, allocations: 204.1 kB / 1.493 GB, free: 4.098 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.854e-05/1.033, allocations: 39.97 kB / 1.493 GB, free: 4.059 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005752/1.039, allocations: 7.359 MB / 1.5 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.039, allocations: 4.031 kB / 1.5 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/1.043, allocations: 2.029 MB / 1.502 GB, free: 9.922 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/1.043, allocations: 0.5187 MB / 1.503 GB, free: 9.383 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.044, allocations: 36 kB / 1.503 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.045, allocations: 110.1 kB / 1.503 GB, free: 9.242 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.045, allocations: 125.1 kB / 1.503 GB, free: 9.121 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.045, allocations: 67.95 kB / 1.503 GB, free: 9.055 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003013/1.048, allocations: 3.132 MB / 1.506 GB, free: 5.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.5e-07/1.048, allocations: 0 / 1.506 GB, free: 5.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001349/1.05, allocations: 0.6938 MB / 1.507 GB, free: 5.234 MB / 1.201 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.005914/1.055, allocations: 3.235 MB / 1.51 GB, free: 2.148 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003167/1.059, allocations: 2.074 MB / 1.512 GB, free: 8 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.059, allocations: 4.562 kB / 1.512 GB, free: 4 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.061, allocations: 1.422 MB / 1.513 GB, free: 14.52 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.063, allocations: 0.5588 MB / 1.514 GB, free: 13.98 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02672/1.089, allocations: 21.07 MB / 1.534 GB, free: 8.672 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.09, allocations: 1.541 MB / 1.536 GB, free: 7.098 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001392/1.092, allocations: 0.5329 MB / 1.536 GB, free: 6.559 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.093, allocations: 0.8975 MB / 1.537 GB, free: 5.66 MB / 1.232 GB Notification: Performance of SimCode: time 6.21e-07/1.093, allocations: 0 / 1.537 GB, free: 5.66 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.78/11.88, allocations: 49.36 MB / 1.586 GB, free: 4.836 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.62/38.5, allocations: 11.75 kB / 1.586 GB, free: 4.828 MB / 1.279 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=400 --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)