Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.001744/0.001744, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002807/0.002807, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.745/2.745, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.361/5.361, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006642/0.0006646, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546/1.547, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.4485/1.996, allocations: 198.1 MB / 1.174 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03366/2.029, allocations: 12.01 MB / 1.186 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005034/2.034, allocations: 47.62 kB / 1.186 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006337/2.041, allocations: 0.9334 MB / 1.187 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01443/2.055, allocations: 2.235 MB / 1.189 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.007989/2.063, allocations: 1.421 MB / 1.191 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008483/2.072, allocations: 1.964 MB / 1.192 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/2.075, allocations: 0.8233 MB / 1.193 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/2.087, allocations: 2.434 MB / 1.196 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/2.09, allocations: 0.591 MB / 1.196 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004431/2.09, allocations: 48 kB / 1.196 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/2.093, allocations: 375.5 kB / 1.197 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006962/2.094, allocations: 378.8 kB / 1.197 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009009/2.095, allocations: 285 kB / 1.197 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002423/2.097, allocations: 1.044 MB / 1.198 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/2.097, allocations: 3.938 kB / 1.198 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.37e-06/2.097, allocations: 0 / 1.198 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.732e-05/2.097, allocations: 0 / 1.198 GB, free: 7.145 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.004361/2.102, allocations: 1.394 MB / 1.2 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001076/2.102, allocations: 8.031 kB / 1.2 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003609/2.102, allocations: 126.7 kB / 1.2 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/2.104, allocations: 206.1 kB / 1.2 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/2.106, allocations: 0.7928 MB / 1.201 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/2.107, allocations: 121.4 kB / 1.201 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/2.107, allocations: 88 kB / 1.201 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/2.109, allocations: 0.9181 MB / 1.202 GB, free: 3.281 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/2.109, allocations: 3.938 kB / 1.202 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/2.11, allocations: 32 kB / 1.202 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/2.11, allocations: 27.95 kB / 1.202 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/2.111, allocations: 0.511 MB / 1.202 GB, free: 2.707 MB / 0.9512 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.0107/2.122, allocations: 4.893 MB / 1.207 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/2.123, allocations: 416.7 kB / 1.208 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.158e-05/2.123, allocations: 15.92 kB / 1.208 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.072e-05/2.123, allocations: 50.5 kB / 1.208 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=31): time 5.039e-06/2.123, allocations: 3.938 kB / 1.208 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=31): time 0.003484/2.127, allocations: 0.8092 MB / 1.208 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005658/2.127, allocations: 397.9 kB / 1.209 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/2.13, allocations: 1.267 MB / 1.21 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/2.13, allocations: 33.7 kB / 1.21 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008138/2.131, allocations: 0.5496 MB / 1.211 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002524/2.131, allocations: 110.4 kB / 1.211 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/2.131, allocations: 4 kB / 1.211 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002591/2.132, allocations: 330 kB / 1.211 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/2.132, allocations: 87.94 kB / 1.211 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/2.133, allocations: 349.9 kB / 1.211 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/2.133, allocations: 135.8 kB / 1.212 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/2.133, allocations: 0 / 1.212 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001507/2.135, allocations: 0.5015 MB / 1.212 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/2.135, allocations: 4 kB / 1.212 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/2.135, allocations: 4 kB / 1.212 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/2.135, allocations: 69.8 kB / 1.212 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/2.136, allocations: 63.91 kB / 1.212 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00419/2.14, allocations: 3.035 MB / 1.215 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/2.142, allocations: 111.2 kB / 1.215 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/2.142, allocations: 24 kB / 1.215 GB, free: 4.457 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008774/2.143, allocations: 273.6 kB / 1.216 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007037/2.143, allocations: 146.3 kB / 1.216 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/2.144, allocations: 128 kB / 1.216 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/2.144, allocations: 4 kB / 1.216 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.925e-05/2.144, allocations: 11.94 kB / 1.216 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/2.144, allocations: 7.984 kB / 1.216 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/2.15, allocations: 2.524 MB / 1.218 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/2.15, allocations: 12.03 kB / 1.218 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/2.15, allocations: 47.91 kB / 1.218 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/2.151, allocations: 69.67 kB / 1.218 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/2.151, allocations: 12 kB / 1.218 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00493/2.156, allocations: 2.939 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/2.156, allocations: 8 kB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/2.158, allocations: 1.005 MB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008869/2.159, allocations: 251.3 kB / 1.223 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/2.16, allocations: 15.95 kB / 1.223 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/2.161, allocations: 71.88 kB / 1.223 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/2.161, allocations: 43.84 kB / 1.223 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/2.161, allocations: 16 kB / 1.223 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002438/2.163, allocations: 0.8646 MB / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/2.163, allocations: 0 / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001949/2.165, allocations: 255.8 kB / 1.224 GB, free: 11.07 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004618/2.17, allocations: 3.121 MB / 1.227 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001868/2.172, allocations: 0.5204 MB / 1.227 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.172, allocations: 4 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001242/2.173, allocations: 411.3 kB / 1.228 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006372/2.18, allocations: 0.7472 MB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009348/2.189, allocations: 4.871 MB / 1.233 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/2.191, allocations: 1.162 MB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00188/2.193, allocations: 243 kB / 1.235 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009054/2.194, allocations: 443.2 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of SimCode: time 1.143e-06/2.194, allocations: 0 / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.017/3.211, allocations: 31.95 MB / 1.266 GB, free: 258.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/3.211, allocations: 282.7 kB / 1.266 GB, free: 257.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.037/8.248, allocations: 4 kB / 1.266 GB, free: 257.9 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat does not exist to compare? outputFormat=mat