Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_9_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.128/2.128, allocations: 387.1 MB / 399.7 MB, free: 9.516 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009716/0.0009715, allocations: 184.9 kB / 492.3 MB, free: 0.6367 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 221.3 MB / 0.7871 GB, free: 12.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 80.67 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.839e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2804, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.57/5.85, allocations: 1.938 GB / 3.151 GB, free: 341.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/5.851, allocations: 95 kB / 3.151 GB, free: 341.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.6432/6.494, allocations: 325.9 MB / 3.469 GB, free: 29.85 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.034e-06/6.494, allocations: 3.938 kB / 3.469 GB, free: 29.85 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002884/6.494, allocations: 51.94 kB / 3.469 GB, free: 29.8 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.00554/6.5, allocations: 2.126 MB / 3.471 GB, free: 27.61 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/6.5, allocations: 12.03 kB / 3.471 GB, free: 27.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006554/6.501, allocations: 232.6 kB / 3.472 GB, free: 27.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/6.505, allocations: 0.5512 MB / 3.472 GB, free: 26.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/6.509, allocations: 2.177 MB / 3.474 GB, free: 24.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/6.509, allocations: 127.3 kB / 3.474 GB, free: 24.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/6.51, allocations: 164 kB / 3.474 GB, free: 24.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/6.514, allocations: 1.783 MB / 3.476 GB, free: 22.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/6.514, allocations: 0 / 3.476 GB, free: 22.46 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/6.514, allocations: 72 kB / 3.476 GB, free: 22.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/6.514, allocations: 44 kB / 3.476 GB, free: 22.35 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/6.517, allocations: 1.906 MB / 3.478 GB, free: 20.44 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.01084/6.528, allocations: 6.2 MB / 3.484 GB, free: 14.03 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/6.53, allocations: 1.881 MB / 3.486 GB, free: 12.06 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000887/6.531, allocations: 0.6718 MB / 3.487 GB, free: 11.39 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/6.532, allocations: 433.6 kB / 3.487 GB, free: 10.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/6.533, allocations: 0.8802 MB / 3.488 GB, free: 9.992 MB / 1.151 GB Notification: Performance of pre-optimization done (n=137): time 3.988e-06/6.533, allocations: 0 / 3.488 GB, free: 9.992 MB / 1.151 GB Notification: Performance of matching and sorting (n=137): time 0.003703/6.537, allocations: 1.616 MB / 3.49 GB, free: 8.352 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/6.537, allocations: 252.6 kB / 3.49 GB, free: 8.051 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003909/6.541, allocations: 2.426 MB / 3.492 GB, free: 5.621 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002722/6.541, allocations: 57.7 kB / 3.492 GB, free: 5.559 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000777/6.542, allocations: 0.8747 MB / 3.493 GB, free: 4.672 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/6.542, allocations: 457.3 kB / 3.494 GB, free: 4.219 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/6.543, allocations: 28 kB / 3.494 GB, free: 4.191 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/6.543, allocations: 345.9 kB / 3.494 GB, free: 3.848 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007527/6.543, allocations: 494.4 kB / 3.494 GB, free: 3.363 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009208/6.544, allocations: 0.7016 MB / 3.495 GB, free: 2.598 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009062/6.545, allocations: 0.5719 MB / 3.496 GB, free: 2.027 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/6.545, allocations: 0 / 3.496 GB, free: 2.027 MB / 1.151 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003361/6.549, allocations: 1.584 MB / 3.497 GB, free: 428 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/6.549, allocations: 4 kB / 3.497 GB, free: 424 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/6.549, allocations: 0 / 3.497 GB, free: 424 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009897/6.55, allocations: 224.1 kB / 3.497 GB, free: 184 kB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7405/7.29, allocations: 303.2 kB / 3.498 GB, free: 306.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00521/7.296, allocations: 6.795 MB / 3.504 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/7.298, allocations: 172.7 kB / 3.504 GB, free: 299.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/7.298, allocations: 63.66 kB / 3.505 GB, free: 299.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003964/7.298, allocations: 185.2 kB / 3.505 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/7.299, allocations: 186.7 kB / 3.505 GB, free: 299.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004663/7.303, allocations: 2.026 MB / 3.507 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/7.303, allocations: 13.31 kB / 3.507 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/7.303, allocations: 5.031 kB / 3.507 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/7.303, allocations: 10.27 kB / 3.507 GB, free: 299.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008045/7.311, allocations: 4.147 MB / 3.511 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/7.311, allocations: 1.469 kB / 3.511 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/7.313, allocations: 332.8 kB / 3.511 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009362/7.314, allocations: 209.7 kB / 3.511 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/7.314, allocations: 44.12 kB / 3.512 GB, free: 299.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004333/7.318, allocations: 6.822 MB / 3.518 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/7.318, allocations: 3.375 kB / 3.518 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003756/7.322, allocations: 1.788 MB / 3.52 GB, free: 292.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/7.324, allocations: 0.6713 MB / 3.521 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/7.324, allocations: 26.53 kB / 3.521 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/7.325, allocations: 136.1 kB / 3.521 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/7.325, allocations: 110.2 kB / 3.521 GB, free: 292.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/7.326, allocations: 86.53 kB / 3.521 GB, free: 292.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002767/7.328, allocations: 1.915 MB / 3.523 GB, free: 292.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.6e-07/7.328, allocations: 0 / 3.523 GB, free: 292.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002908/7.331, allocations: 0.8222 MB / 3.524 GB, free: 292.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006559/7.338, allocations: 3.852 MB / 3.527 GB, free: 291.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002821/7.341, allocations: 1.8 MB / 3.529 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/7.341, allocations: 2.812 kB / 3.529 GB, free: 290.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00163/7.342, allocations: 1.278 MB / 3.53 GB, free: 290 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/7.345, allocations: 478 kB / 3.531 GB, free: 290 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008719/7.354, allocations: 3.483 MB / 3.534 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/7.355, allocations: 1.546 MB / 3.536 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002783/7.358, allocations: 0.6602 MB / 3.536 GB, free: 288.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/7.359, allocations: 0.9194 MB / 3.537 GB, free: 288.5 MB / 1.151 GB Notification: Performance of SimCode: time 6.41e-07/7.359, allocations: 0 / 3.537 GB, free: 288.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/7.479, allocations: 70.28 MB / 3.606 GB, free: 286.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/7.479, allocations: 245.2 kB / 3.606 GB, free: 285.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.381/11.86, allocations: 0 / 3.606 GB, free: 285.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat does not exist to compare? outputFormat=mat