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.0007664/0.0007664, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.004425/0.004425, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 462.6 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 11.36 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2386, allocations: 159.6 MB / 1.059 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1494/0.388, allocations: 163.9 MB / 1.219 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4072, allocations: 17.16 MB / 1.236 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.4084, allocations: 27.81 kB / 1.236 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.4097, allocations: 485 kB / 1.236 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003927/0.4137, allocations: 1.589 MB / 1.238 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.4165, allocations: 1.278 MB / 1.239 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.4195, allocations: 3.105 MB / 1.242 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.4217, allocations: 1.663 MB / 1.244 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.4259, allocations: 1.108 MB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.4271, allocations: 0.9136 MB / 1.246 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.4274, allocations: 52 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002386/0.4298, allocations: 1.505 MB / 1.247 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005325/0.4303, allocations: 0.5993 MB / 1.248 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.4313, allocations: 1.069 MB / 1.249 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4796/0.911, allocations: 3.533 MB / 1.252 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.911, allocations: 2.25 kB / 1.252 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/0.911, allocations: 0 / 1.252 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.031e-05/0.9111, allocations: 0 / 1.252 GB, free: 9.859 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.004138/0.9152, allocations: 2.442 MB / 1.254 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9153, allocations: 15.19 kB / 1.255 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/0.9156, allocations: 248.5 kB / 1.255 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.919, allocations: 0.5768 MB / 1.255 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.9221, allocations: 3.396 MB / 1.259 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.9222, allocations: 127.3 kB / 1.259 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.9224, allocations: 170.8 kB / 1.259 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.9254, allocations: 1.965 MB / 1.261 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/0.9254, allocations: 4.172 kB / 1.261 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.9256, allocations: 78.31 kB / 1.261 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.9256, allocations: 42.75 kB / 1.261 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003194/0.9288, allocations: 2.129 MB / 1.263 GB, free: 7.734 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.008695/0.9375, allocations: 6.795 MB / 1.27 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.941, allocations: 2.149 MB / 1.272 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.9425, allocations: 0.7867 MB / 1.273 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004575/0.943, allocations: 429.8 kB / 1.273 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.9447, allocations: 1.03 MB / 1.274 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 2.985e-06/0.9447, allocations: 1.031 kB / 1.274 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.006444/0.9511, allocations: 3.041 MB / 1.277 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001721/0.9513, allocations: 197.6 kB / 1.277 GB, free: 19.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/0.9555, allocations: 4.07 MB / 1.281 GB, free: 19.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.9556, allocations: 58.61 kB / 1.281 GB, free: 19.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.9562, allocations: 0.8978 MB / 1.282 GB, free: 19.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.9564, allocations: 480.8 kB / 1.282 GB, free: 18.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.9566, allocations: 103 kB / 1.283 GB, free: 18.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.9567, allocations: 356 kB / 1.283 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.9578, allocations: 0.5859 MB / 1.283 GB, free: 18.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.959, allocations: 0.8226 MB / 1.284 GB, free: 18.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.9613, allocations: 1.358 MB / 1.286 GB, free: 18.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9613, allocations: 4.656 kB / 1.286 GB, free: 18.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003585/0.9649, allocations: 1.814 MB / 1.287 GB, free: 17.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9649, allocations: 5.781 kB / 1.287 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.965, allocations: 4.312 kB / 1.287 GB, free: 17.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000998/0.966, allocations: 209.2 kB / 1.288 GB, free: 17.95 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.9675, allocations: 336.5 kB / 1.288 GB, free: 17.94 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005161/0.9726, allocations: 6.826 MB / 1.295 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.9742, allocations: 205.4 kB / 1.295 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.796e-05/0.9743, allocations: 51.77 kB / 1.295 GB, free: 11.55 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.000755/0.975, allocations: 498.7 kB / 1.295 GB, free: 11.42 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002513/0.9753, allocations: 192.2 kB / 1.295 GB, free: 11.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/0.9794, allocations: 2.171 MB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.9795, allocations: 19.22 kB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.9795, allocations: 6.062 kB / 1.298 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.9795, allocations: 7.328 kB / 1.298 GB, free: 11.13 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.9853, allocations: 4.153 MB / 1.302 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.9854, allocations: 5.047 kB / 1.302 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.9867, allocations: 327.8 kB / 1.302 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008611/0.9876, allocations: 208.6 kB / 1.302 GB, free: 10.63 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.569e-05/0.9877, allocations: 45.36 kB / 1.302 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004784/0.9925, allocations: 6.842 MB / 1.309 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9925, allocations: 2.906 kB / 1.309 GB, free: 4.289 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.9959, allocations: 2.046 MB / 1.311 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006869/0.9966, allocations: 0.5326 MB / 1.311 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.9969, allocations: 27.31 kB / 1.311 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/0.9982, allocations: 158.2 kB / 1.312 GB, free: 3.719 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.9984, allocations: 118.4 kB / 1.312 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.9986, allocations: 76.11 kB / 1.312 GB, free: 3.711 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002392/1.001, allocations: 3.125 MB / 1.315 GB, free: 3.602 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.001, allocations: 5.609 kB / 1.315 GB, free: 3.602 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001539/1.003, allocations: 0.6954 MB / 1.316 GB, free: 3.496 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.005113/1.008, allocations: 3.252 MB / 1.319 GB, free: 2.504 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002906/1.011, allocations: 2.087 MB / 1.321 GB, free: 1.914 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.011, allocations: 3.469 kB / 1.321 GB, free: 1.914 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/1.012, allocations: 1.436 MB / 1.322 GB, free: 1.348 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.015, allocations: 0.5167 MB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/1.043, allocations: 23.47 MB / 1.346 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/1.044, allocations: 1.536 MB / 1.347 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00183/1.046, allocations: 0.5225 MB / 1.348 GB, free: 10.13 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/1.047, allocations: 0.9031 MB / 1.348 GB, free: 10.12 MB / 1.029 GB Notification: Performance of SimCode: time 9.82e-07/1.047, allocations: 0 / 1.348 GB, free: 10.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.811/3.858, allocations: 46.42 MB / 1.394 GB, free: 3.723 MB / 1.061 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/3.858, allocations: 304.7 kB / 1.394 GB, free: 3.336 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.721/7.579, allocations: 2.734 kB / 1.394 GB, free: 3.336 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)