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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008046/0.0008047, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009367/0.0009367, allocations: 179 kB / 16.27 MB, free: 6.664 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.522/2.522, allocations: 443.4 MB / 0.7176 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.000331, allocations: 9.688 kB / 0.8797 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2535, allocations: 155.2 MB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1555/0.4091, allocations: 163.9 MB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02468/0.4338, allocations: 17.15 MB / 1.208 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.4351, allocations: 27.81 kB / 1.208 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.4364, allocations: 489 kB / 1.209 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.4402, allocations: 1.589 MB / 1.21 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002903/0.4432, allocations: 1.288 MB / 1.211 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002796/0.446, allocations: 3.101 MB / 1.214 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.4479, allocations: 1.671 MB / 1.216 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004236/0.4521, allocations: 1.102 MB / 1.217 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009846/0.4531, allocations: 0.9188 MB / 1.218 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.4533, allocations: 48 kB / 1.218 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002498/0.4558, allocations: 1.509 MB / 1.22 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004775/0.4563, allocations: 0.5954 MB / 1.22 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008786/0.4572, allocations: 1.069 MB / 1.221 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00317/0.4604, allocations: 3.535 MB / 1.225 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4604, allocations: 0 / 1.225 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4604, allocations: 4 kB / 1.225 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.057e-05/0.4604, allocations: 0 / 1.225 GB, free: 13.46 MB / 0.9825 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.003802/0.4642, allocations: 2.436 MB / 1.227 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.4643, allocations: 12.03 kB / 1.227 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/0.4646, allocations: 248.9 kB / 1.227 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.468, allocations: 0.5822 MB / 1.228 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.4715, allocations: 3.394 MB / 1.231 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.4716, allocations: 127.4 kB / 1.231 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4718, allocations: 172 kB / 1.231 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003129/0.4749, allocations: 1.972 MB / 1.233 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.475, allocations: 4 kB / 1.233 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.4751, allocations: 72 kB / 1.233 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.4752, allocations: 40 kB / 1.233 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/0.4786, allocations: 2.136 MB / 1.236 GB, free: 2.102 MB / 0.9825 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.008433/0.4871, allocations: 6.795 MB / 1.242 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.4903, allocations: 2.152 MB / 1.244 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.4916, allocations: 0.7841 MB / 1.245 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005261/0.4921, allocations: 437.5 kB / 1.245 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.4939, allocations: 1.021 MB / 1.246 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.056e-06/0.4939, allocations: 0 / 1.246 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006529/0.5004, allocations: 3.032 MB / 1.249 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.917e-05/0.5005, allocations: 205.2 kB / 1.25 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4753/0.9758, allocations: 4.078 MB / 1.254 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.9761, allocations: 56.83 kB / 1.254 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005529/0.9767, allocations: 0.9065 MB / 1.254 GB, free: 217.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.977, allocations: 480.5 kB / 1.255 GB, free: 217 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.9771, allocations: 97.8 kB / 1.255 GB, free: 217 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.9772, allocations: 352.2 kB / 1.255 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.9783, allocations: 0.5914 MB / 1.256 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.9795, allocations: 0.8139 MB / 1.257 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.9819, allocations: 1.354 MB / 1.258 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9819, allocations: 1.406 kB / 1.258 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004131/0.986, allocations: 1.817 MB / 1.26 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.9861, allocations: 4.844 kB / 1.26 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9861, allocations: 2.141 kB / 1.26 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.9872, allocations: 210.9 kB / 1.26 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.989, allocations: 337.7 kB / 1.26 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004498/0.9935, allocations: 6.835 MB / 1.267 GB, free: 209.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.9951, allocations: 198.6 kB / 1.267 GB, free: 209.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.9952, allocations: 48.62 kB / 1.267 GB, free: 209.8 MB / 0.9981 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.0008852/0.9961, allocations: 488.9 kB / 1.268 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.9964, allocations: 195 kB / 1.268 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/1.001, allocations: 2.186 MB / 1.27 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.001, allocations: 15.44 kB / 1.27 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/1.001, allocations: 1.188 kB / 1.27 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.001, allocations: 8.562 kB / 1.27 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006968/1.008, allocations: 4.16 MB / 1.274 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.008, allocations: 0.7031 kB / 1.274 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.009, allocations: 324.4 kB / 1.274 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/1.01, allocations: 210.7 kB / 1.275 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.838e-05/1.01, allocations: 44.23 kB / 1.275 GB, free: 207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/1.014, allocations: 6.851 MB / 1.281 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.014, allocations: 3.938 kB / 1.281 GB, free: 200.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003784/1.018, allocations: 2.037 MB / 1.283 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007613/1.019, allocations: 0.5243 MB / 1.284 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/1.019, allocations: 28.83 kB / 1.284 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/1.02, allocations: 162.6 kB / 1.284 GB, free: 199 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/1.021, allocations: 117.1 kB / 1.284 GB, free: 199 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/1.021, allocations: 69.98 kB / 1.284 GB, free: 199 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002911/1.024, allocations: 3.131 MB / 1.287 GB, free: 198 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.024, allocations: 0 / 1.287 GB, free: 198 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001722/1.025, allocations: 0.6894 MB / 1.288 GB, free: 197.8 MB / 0.9981 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.005089/1.03, allocations: 3.258 MB / 1.291 GB, free: 196.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003061/1.034, allocations: 2.088 MB / 1.293 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.034, allocations: 4.625 kB / 1.293 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.035, allocations: 1.439 MB / 1.295 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.037, allocations: 0.5233 MB / 1.295 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.064, allocations: 23.48 MB / 1.318 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/1.065, allocations: 1.535 MB / 1.32 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001844/1.067, allocations: 0.5212 MB / 1.32 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009407/1.068, allocations: 0.9014 MB / 1.321 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.068, allocations: 0 / 1.321 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5114/1.579, allocations: 46.42 MB / 1.366 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.579, allocations: 294.5 kB / 1.367 GB, free: 124.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.383/4.963, allocations: 0 / 1.367 GB, free: 124.2 MB / 0.9981 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)