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.001541/0.001541, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001817/0.001817, allocations: 191.7 kB / 16.14 MB, free: 6.711 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 461.8 MB / 0.7342 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.66 kB / 0.8985 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2274, allocations: 157.4 MB / 1.052 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1601/0.3876, allocations: 166.1 MB / 1.214 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01953/0.4071, allocations: 17.41 MB / 1.231 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.4083, allocations: 31.81 kB / 1.231 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.4098, allocations: 477 kB / 1.232 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.4138, allocations: 1.596 MB / 1.233 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.4166, allocations: 1.287 MB / 1.235 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.4196, allocations: 3.105 MB / 1.238 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002179/0.4218, allocations: 1.787 MB / 1.239 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.4263, allocations: 1.265 MB / 1.241 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.4276, allocations: 1.109 MB / 1.242 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003275/0.4279, allocations: 120 kB / 1.242 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.4305, allocations: 1.567 MB / 1.243 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006375/0.4311, allocations: 0.7047 MB / 1.244 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.4324, allocations: 1.177 MB / 1.245 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4722/0.9046, allocations: 3.638 MB / 1.249 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9046, allocations: 0 / 1.249 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9046, allocations: 0 / 1.249 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.823e-05/0.9047, allocations: 0 / 1.249 GB, free: 10.49 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.004663/0.9093, allocations: 2.929 MB / 1.252 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.9094, allocations: 12.97 kB / 1.252 GB, free: 9.16 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002977/0.9097, allocations: 247.5 kB / 1.252 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0037/0.9134, allocations: 0.5746 MB / 1.253 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003444/0.9168, allocations: 3.389 MB / 1.256 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.9169, allocations: 129.4 kB / 1.256 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.9171, allocations: 169.5 kB / 1.256 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/0.9203, allocations: 1.96 MB / 1.258 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.9204, allocations: 0 / 1.258 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.9205, allocations: 75.61 kB / 1.258 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/0.9206, allocations: 41.88 kB / 1.258 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.9242, allocations: 2.114 MB / 1.26 GB, free: 8.301 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.01045/0.9347, allocations: 6.757 MB / 1.267 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003682/0.9384, allocations: 2.124 MB / 1.269 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.9398, allocations: 0.7793 MB / 1.27 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/0.9403, allocations: 432.5 kB / 1.27 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.9421, allocations: 1.019 MB / 1.271 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.886e-06/0.9421, allocations: 0 / 1.271 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006646/0.9487, allocations: 2.997 MB / 1.274 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/0.9488, allocations: 196.9 kB / 1.274 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/0.953, allocations: 4.08 MB / 1.278 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.9531, allocations: 62.39 kB / 1.278 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.9537, allocations: 0.8961 MB / 1.279 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.9541, allocations: 476.6 kB / 1.28 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003746/0.9544, allocations: 241.7 kB / 1.28 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.9545, allocations: 355.8 kB / 1.28 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.9556, allocations: 0.5831 MB / 1.281 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.9568, allocations: 0.8123 MB / 1.281 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/0.959, allocations: 1.336 MB / 1.283 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.959, allocations: 0 / 1.283 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003718/0.9627, allocations: 1.796 MB / 1.285 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9628, allocations: 7.375 kB / 1.285 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.9628, allocations: 0 / 1.285 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009903/0.9638, allocations: 216.5 kB / 1.285 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.9653, allocations: 331 kB / 1.285 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/0.9703, allocations: 6.817 MB / 1.292 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.9719, allocations: 186.3 kB / 1.292 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.972, allocations: 47.55 kB / 1.292 GB, free: 12.14 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.0009096/0.9729, allocations: 0.4888 MB / 1.292 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.9733, allocations: 191.5 kB / 1.293 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.9773, allocations: 2.158 MB / 1.295 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.9773, allocations: 17.06 kB / 1.295 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.9774, allocations: 6 kB / 1.295 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.9774, allocations: 7.641 kB / 1.295 GB, free: 11.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/0.9834, allocations: 4.132 MB / 1.299 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9834, allocations: 2.906 kB / 1.299 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.9848, allocations: 323.9 kB / 1.299 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008719/0.9857, allocations: 210.3 kB / 1.299 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.239e-05/0.9858, allocations: 37.2 kB / 1.299 GB, free: 11.23 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005088/0.9909, allocations: 6.845 MB / 1.306 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.9909, allocations: 0 / 1.306 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003931/0.9948, allocations: 2.027 MB / 1.308 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.9957, allocations: 0.5138 MB / 1.308 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002623/0.996, allocations: 32.94 kB / 1.309 GB, free: 4.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.9974, allocations: 136.2 kB / 1.309 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.9976, allocations: 122.8 kB / 1.309 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.9978, allocations: 69.06 kB / 1.309 GB, free: 4.32 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002579/1, allocations: 3.135 MB / 1.312 GB, free: 4.211 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1, allocations: 1.094 kB / 1.312 GB, free: 4.211 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001701/1.002, allocations: 0.692 MB / 1.313 GB, free: 4.105 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.005414/1.007, allocations: 3.224 MB / 1.316 GB, free: 3.148 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003065/1.011, allocations: 2.07 MB / 1.318 GB, free: 2.559 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.011, allocations: 2.812 kB / 1.318 GB, free: 2.559 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001866/1.012, allocations: 1.421 MB / 1.319 GB, free: 1.996 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.015, allocations: 0.5295 MB / 1.32 GB, free: 1.945 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03085/1.046, allocations: 23.4 MB / 1.342 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009794/1.047, allocations: 1.531 MB / 1.344 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002118/1.049, allocations: 0.5269 MB / 1.345 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.05, allocations: 0.8947 MB / 1.345 GB, free: 10.78 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/1.05, allocations: 0 / 1.345 GB, free: 10.78 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9098/1.96, allocations: 47.42 MB / 1.392 GB, free: 3.016 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003834/1.96, allocations: 304.9 kB / 1.392 GB, free: 2.633 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.134/5.094, allocations: 0 / 1.392 GB, free: 2.633 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)