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/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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008225/0.0008227, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009407/0.0009408, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 12 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7813, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1859/0.9672, allocations: 151.8 MB / 1.102 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.9919, allocations: 15.95 MB / 1.118 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.9943, allocations: 27.81 kB / 1.118 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.9962, allocations: 377.3 kB / 1.118 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005336/1.002, allocations: 1.319 MB / 1.119 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003828/1.005, allocations: 1.11 MB / 1.12 GB, free: 5.164 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004258/1.01, allocations: 2.579 MB / 1.123 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/1.013, allocations: 1.503 MB / 1.124 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/1.015, allocations: 1.004 MB / 1.125 GB, free: 40 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001884/1.017, allocations: 0.8533 MB / 1.126 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0005447/1.018, allocations: 52 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/1.021, allocations: 1.014 MB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009423/1.022, allocations: 0.5878 MB / 1.128 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008163/1.023, allocations: 416.4 kB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/1.026, allocations: 2.65 MB / 1.131 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.026, allocations: 3.938 kB / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.202e-06/1.026, allocations: 0 / 1.131 GB, free: 10.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.359e-05/1.026, allocations: 0 / 1.131 GB, free: 10.45 MB / 0.8887 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.003971/1.03, allocations: 2.432 MB / 1.133 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.03, allocations: 12.03 kB / 1.133 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003328/1.031, allocations: 244.9 kB / 1.133 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003477/1.034, allocations: 0.5784 MB / 1.134 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/1.038, allocations: 3.333 MB / 1.137 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-05/1.038, allocations: 127.4 kB / 1.137 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/1.038, allocations: 168 kB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003275/1.042, allocations: 1.956 MB / 1.139 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.042, allocations: 0 / 1.139 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.042, allocations: 76 kB / 1.14 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/1.042, allocations: 40 kB / 1.14 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003467/1.045, allocations: 2.12 MB / 1.142 GB, free: 15.2 MB / 0.9044 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.009067/1.055, allocations: 6.423 MB / 1.148 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/1.058, allocations: 2.13 MB / 1.15 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/1.059, allocations: 0.7725 MB / 1.151 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/1.059, allocations: 433.7 kB / 1.151 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/1.061, allocations: 1.034 MB / 1.152 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 2.886e-06/1.061, allocations: 0 / 1.152 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.006288/1.067, allocations: 3.02 MB / 1.155 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.068, allocations: 201.2 kB / 1.155 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/1.072, allocations: 4.058 MB / 1.159 GB, free: 12.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.072, allocations: 57.64 kB / 1.159 GB, free: 12.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007813/1.073, allocations: 0.9023 MB / 1.16 GB, free: 11.56 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004232/1.074, allocations: 484.9 kB / 1.161 GB, free: 11.08 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.476e-05/1.074, allocations: 28 kB / 1.161 GB, free: 11.05 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.074, allocations: 357.9 kB / 1.161 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/1.075, allocations: 0.5921 MB / 1.162 GB, free: 10.11 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/1.076, allocations: 0.8125 MB / 1.162 GB, free: 9.23 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/1.077, allocations: 0.6623 MB / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.077, allocations: 0 / 1.163 GB, free: 8.57 MB / 0.92 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003647/1.081, allocations: 1.803 MB / 1.165 GB, free: 6.742 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/1.081, allocations: 16.02 kB / 1.165 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/1.081, allocations: 0 / 1.165 GB, free: 6.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009743/1.082, allocations: 208 kB / 1.165 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/1.084, allocations: 335.6 kB / 1.165 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005446/1.089, allocations: 6.815 MB / 1.172 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.091, allocations: 188.4 kB / 1.172 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/1.091, allocations: 51.97 kB / 1.172 GB, free: 14.46 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (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.00105/1.092, allocations: 493.3 kB / 1.173 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/1.092, allocations: 193.6 kB / 1.173 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/1.097, allocations: 2.173 MB / 1.175 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/1.097, allocations: 12 kB / 1.175 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/1.097, allocations: 11.95 kB / 1.175 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.097, allocations: 7.969 kB / 1.175 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/1.103, allocations: 4.146 MB / 1.179 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.103, allocations: 0 / 1.179 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/1.105, allocations: 323.6 kB / 1.179 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008566/1.106, allocations: 216 kB / 1.18 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.637e-05/1.106, allocations: 39.97 kB / 1.18 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/1.111, allocations: 6.847 MB / 1.186 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.111, allocations: 4.062 kB / 1.186 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004019/1.115, allocations: 2.034 MB / 1.188 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009741/1.116, allocations: 0.5177 MB / 1.189 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/1.116, allocations: 35.92 kB / 1.189 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.117, allocations: 154.6 kB / 1.189 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/1.118, allocations: 117.1 kB / 1.189 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/1.118, allocations: 71.95 kB / 1.189 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003134/1.121, allocations: 3.113 MB / 1.192 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.51e-07/1.121, allocations: 0 / 1.192 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002199/1.123, allocations: 0.6703 MB / 1.193 GB, free: 8.473 MB / 0.9512 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 (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.005633/1.129, allocations: 3.228 MB / 1.196 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003415/1.132, allocations: 2.078 MB / 1.198 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/1.132, allocations: 8.547 kB / 1.198 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/1.134, allocations: 1.43 MB / 1.199 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.137, allocations: 0.4943 MB / 1.2 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03122/1.168, allocations: 19.48 MB / 1.219 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/1.169, allocations: 1.537 MB / 1.22 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002199/1.171, allocations: 0.521 MB / 1.221 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.173, allocations: 0.8975 MB / 1.222 GB, free: 10 MB / 0.9825 GB Notification: Performance of SimCode: time 8.31e-07/1.173, allocations: 0 / 1.222 GB, free: 10 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6188/1.791, allocations: 48.48 MB / 1.269 GB, free: 271 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.792, allocations: 279.5 kB / 1.269 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.185/4.977, allocations: 0 / 1.269 GB, free: 270.7 MB / 0.9981 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