Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.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.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",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.001063/0.001063, allocations: 91.14 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.001267/0.001267, 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.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.48/2.48, allocations: 409.4 MB / 0.684 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 12 kB / 0.8378 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7731, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch): time 0.1995/0.9726, allocations: 196.9 MB / 1.173 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01715/0.9898, allocations: 11.97 MB / 1.185 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.9919, allocations: 55.56 kB / 1.185 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001983/0.9939, allocations: 0.5626 MB / 1.186 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006399/1, allocations: 1.818 MB / 1.187 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00558/1.006, allocations: 1.819 MB / 1.189 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005791/1.012, allocations: 4.394 MB / 1.194 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/1.014, allocations: 1.099 MB / 1.195 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004763/1.018, allocations: 1.879 MB / 1.196 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002199/1.021, allocations: 1.432 MB / 1.198 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002886/1.021, allocations: 92 kB / 1.198 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/1.026, allocations: 2.34 MB / 1.2 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007303/1.026, allocations: 0.5333 MB / 1.201 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0006981/1.027, allocations: 396.8 kB / 1.201 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004437/1.032, allocations: 3.562 MB / 1.205 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.032, allocations: 0 / 1.205 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/1.032, allocations: 0 / 1.205 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.806e-05/1.032, allocations: 4 kB / 1.205 GB, free: 0.8086 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006027/1.038, allocations: 2.359 MB / 1.207 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.038, allocations: 8.031 kB / 1.207 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002565/1.038, allocations: 152.2 kB / 1.207 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00241/1.04, allocations: 0.5168 MB / 1.208 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/1.044, allocations: 1.847 MB / 1.209 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005698/1.044, allocations: 218.3 kB / 1.21 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000236/1.044, allocations: 116 kB / 1.21 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002886/1.047, allocations: 1.59 MB / 1.211 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/1.047, allocations: 0 / 1.211 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/1.047, allocations: 40 kB / 1.211 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/1.048, allocations: 49.98 kB / 1.211 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/1.051, allocations: 1.745 MB / 1.213 GB, free: 8.008 MB / 0.9669 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.01097/1.062, allocations: 7.616 MB / 1.22 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002719/1.065, allocations: 1.392 MB / 1.222 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/1.066, allocations: 0.6837 MB / 1.223 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008436/1.067, allocations: 0.7239 MB / 1.223 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/1.067, allocations: 51.06 kB / 1.223 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=69): time 2.545e-06/1.067, allocations: 0 / 1.223 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=69): time 0.004823/1.072, allocations: 2.055 MB / 1.225 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/1.072, allocations: 111.4 kB / 1.225 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/1.075, allocations: 2.084 MB / 1.227 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003639/1.075, allocations: 45.7 kB / 1.227 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/1.076, allocations: 0.7013 MB / 1.228 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/1.076, allocations: 244.4 kB / 1.228 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/1.076, allocations: 24 kB / 1.228 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.076, allocations: 361.9 kB / 1.229 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002467/1.079, allocations: 1.377 MB / 1.23 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002771/1.082, allocations: 1.752 MB / 1.232 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00222/1.084, allocations: 1.263 MB / 1.233 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/1.084, allocations: 4 kB / 1.233 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005648/1.09, allocations: 3.066 MB / 1.236 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/1.09, allocations: 285.1 kB / 1.236 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.09, allocations: 8 kB / 1.236 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.09, allocations: 16 kB / 1.236 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.091, allocations: 335.5 kB / 1.237 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/1.091, allocations: 19.94 kB / 1.237 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.093, allocations: 307.4 kB / 1.237 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/1.093, allocations: 55.97 kB / 1.237 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/1.093, allocations: 5.719 kB / 1.237 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004882/1.098, allocations: 2.898 MB / 1.24 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.098, allocations: 4 kB / 1.24 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/1.098, allocations: 19.95 kB / 1.24 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/1.1, allocations: 335.7 kB / 1.24 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.1, allocations: 12 kB / 1.24 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/1.102, allocations: 266.6 kB / 1.24 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/1.102, allocations: 59.91 kB / 1.241 GB, free: 11.04 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime,vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009807/1.103, allocations: 0.5141 MB / 1.241 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.104, allocations: 169.8 kB / 1.241 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.107, allocations: 1.595 MB / 1.243 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.107, allocations: 15.94 kB / 1.243 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.107, allocations: 0 / 1.243 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.107, allocations: 3.984 kB / 1.243 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006178/1.113, allocations: 3.523 MB / 1.246 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.113, allocations: 4 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.114, allocations: 220.1 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/1.114, allocations: 11.98 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/1.114, allocations: 23.98 kB / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.325e-05/1.114, allocations: 15.98 kB / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.114, allocations: 0 / 1.246 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004978/1.119, allocations: 2.54 MB / 1.249 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.121, allocations: 458.4 kB / 1.249 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/1.121, allocations: 20 kB / 1.249 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.123, allocations: 148.5 kB / 1.25 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.123, allocations: 64.38 kB / 1.25 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.907e-05/1.123, allocations: 35.97 kB / 1.25 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002689/1.126, allocations: 1.439 MB / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/1.126, allocations: 0 / 1.251 GB, free: 96 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.6086/1.734, allocations: 0.9925 MB / 1.252 GB, free: 264.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.s[1],vavBra.vav.filter.s[2]) * 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008465/1.743, allocations: 3.542 MB / 1.255 GB, free: 263.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009338/1.752, allocations: 4.041 MB / 1.259 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.752, allocations: 0.8438 kB / 1.259 GB, free: 262.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.754, allocations: 0.7324 MB / 1.26 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/1.759, allocations: 0.6747 MB / 1.261 GB, free: 262.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03468/1.794, allocations: 14.72 MB / 1.275 GB, free: 254.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/1.795, allocations: 1.305 MB / 1.276 GB, free: 253.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003216/1.798, allocations: 0.5314 MB / 1.277 GB, free: 252.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.799, allocations: 0.6436 MB / 1.278 GB, free: 252.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.799, allocations: 0 / 1.278 GB, free: 252.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0837/1.883, allocations: 53.4 MB / 1.33 GB, free: 199.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.883, allocations: 236.7 kB / 1.33 GB, free: 199.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.264/5.148, allocations: 4.062 kB / 1.33 GB, free: 199.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch_res.mat does not exist to compare? outputFormat=mat