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.001637/0.001637, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002104/0.002104, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.999/1.999, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.002/4.002, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002362/0.002362, allocations: 69.39 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5271/0.5295, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.3375/0.8671, allocations: 166.1 MB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04623/0.9134, allocations: 17.17 MB / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/0.9165, allocations: 27.81 kB / 1.231 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007261/0.9238, allocations: 493 kB / 1.232 GB, free: 128 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01134/0.9352, allocations: 1.629 MB / 1.234 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006648/0.9419, allocations: 1.3 MB / 1.235 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.9525, allocations: 2.879 MB / 1.238 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004453/0.957, allocations: 1.94 MB / 1.239 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00875/0.9658, allocations: 1.432 MB / 1.241 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002828/0.9687, allocations: 1.156 MB / 1.242 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007417/0.9694, allocations: 223.9 kB / 1.242 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009472/0.9789, allocations: 1.56 MB / 1.244 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.9807, allocations: 0.8024 MB / 1.245 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002767/0.9834, allocations: 1.286 MB / 1.246 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 1.087/2.071, allocations: 3.724 MB / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/2.071, allocations: 0 / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.813e-06/2.071, allocations: 0 / 1.249 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001535/2.071, allocations: 0.9062 kB / 1.249 GB, free: 11.52 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.01601/2.087, allocations: 2.923 MB / 1.252 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/2.087, allocations: 10.34 kB / 1.252 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000989/2.088, allocations: 250.2 kB / 1.253 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/2.099, allocations: 0.5702 MB / 1.253 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/2.111, allocations: 3.391 MB / 1.256 GB, free: 9.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/2.112, allocations: 130.2 kB / 1.257 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000697/2.112, allocations: 167.3 kB / 1.257 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008373/2.121, allocations: 1.96 MB / 1.259 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/2.121, allocations: 0.9062 kB / 1.259 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004917/2.126, allocations: 75.47 kB / 1.259 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-05/2.126, allocations: 41.31 kB / 1.259 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008031/2.134, allocations: 2.115 MB / 1.261 GB, free: 9.332 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.03099/2.165, allocations: 6.754 MB / 1.267 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/2.177, allocations: 2.132 MB / 1.269 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007138/2.184, allocations: 0.7722 MB / 1.27 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/2.185, allocations: 435.1 kB / 1.271 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004027/2.189, allocations: 1.013 MB / 1.272 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 1.289e-05/2.189, allocations: 3.375 kB / 1.272 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.02113/2.21, allocations: 3 MB / 1.275 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/2.21, allocations: 202.9 kB / 1.275 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01428/2.224, allocations: 4.08 MB / 1.279 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006156/2.225, allocations: 60.28 kB / 1.279 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/2.227, allocations: 0.8976 MB / 1.28 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/2.228, allocations: 481.6 kB / 1.28 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001429/2.229, allocations: 238.1 kB / 1.28 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/2.229, allocations: 353.6 kB / 1.281 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/2.231, allocations: 0.5863 MB / 1.281 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006419/2.238, allocations: 0.8134 MB / 1.282 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/2.243, allocations: 1.331 MB / 1.283 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/2.243, allocations: 2.094 kB / 1.283 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01228/2.255, allocations: 1.799 MB / 1.285 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/2.255, allocations: 6 kB / 1.285 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/2.256, allocations: 1.031 kB / 1.285 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/2.257, allocations: 211.5 kB / 1.285 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002803/2.26, allocations: 332.2 kB / 1.286 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00937/2.269, allocations: 7.326 MB / 1.293 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/2.273, allocations: 191.5 kB / 1.293 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003545/2.277, allocations: 53.91 kB / 1.293 GB, free: 12.86 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.00344/2.28, allocations: 492.8 kB / 1.293 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01791/2.298, allocations: 190.9 kB / 1.294 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/2.309, allocations: 2.161 MB / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/2.309, allocations: 16.56 kB / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/2.309, allocations: 1.969 kB / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-05/2.309, allocations: 10.2 kB / 1.296 GB, free: 12.48 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0369/2.346, allocations: 4.135 MB / 1.3 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/2.346, allocations: 0 / 1.3 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/2.349, allocations: 322.3 kB / 1.3 GB, free: 12.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007074/2.356, allocations: 199.5 kB / 1.3 GB, free: 11.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000534/2.356, allocations: 44.92 kB / 1.3 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02725/2.384, allocations: 7.354 MB / 1.308 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.384, allocations: 48 / 1.308 GB, free: 5.215 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009681/2.393, allocations: 2.03 MB / 1.31 GB, free: 4.891 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003173/2.397, allocations: 0.5153 MB / 1.31 GB, free: 4.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/2.398, allocations: 35.98 kB / 1.31 GB, free: 4.668 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003692/2.402, allocations: 135.1 kB / 1.31 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005692/2.402, allocations: 114.5 kB / 1.31 GB, free: 4.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000397/2.403, allocations: 71.88 kB / 1.31 GB, free: 4.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.006963/2.41, allocations: 3.134 MB / 1.313 GB, free: 4.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.42e-07/2.41, allocations: 0 / 1.313 GB, free: 4.555 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005142/2.415, allocations: 0.6928 MB / 1.314 GB, free: 4.449 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.01233/2.427, allocations: 3.231 MB / 1.317 GB, free: 3.504 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01064/2.438, allocations: 2.513 MB / 1.32 GB, free: 2.898 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/2.438, allocations: 3.656 kB / 1.32 GB, free: 2.898 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0041/2.442, allocations: 1.422 MB / 1.321 GB, free: 2.34 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006148/2.448, allocations: 0.5622 MB / 1.322 GB, free: 2.277 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08647/2.535, allocations: 23.4 MB / 1.345 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003317/2.538, allocations: 1.532 MB / 1.346 GB, free: 11.31 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.005249/2.543, allocations: 0.5232 MB / 1.347 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005797/2.549, allocations: 0.9014 MB / 1.347 GB, free: 11.15 MB / 1.029 GB Notification: Performance of SimCode: time 2.144e-06/2.549, allocations: 0 / 1.347 GB, free: 11.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9323/3.482, allocations: 48.62 MB / 1.395 GB, free: 2.293 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004678/3.482, allocations: 309.7 kB / 1.395 GB, free: 1.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.195/12.68, allocations: 0 / 1.395 GB, free: 1.902 MB / 1.061 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)