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.0008032/0.0008032, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000847/0.0008474, allocations: 168.7 kB / 15.95 MB, free: 204 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.462/1.462, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.533/2.533, allocations: 409.4 MB / 0.684 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003858, allocations: 23.88 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.817, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2598/1.077, allocations: 220.6 MB / 1.197 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02088/1.098, allocations: 12.64 MB / 1.209 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/1.101, allocations: 51.62 kB / 1.209 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/1.103, allocations: 0.648 MB / 1.21 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005085/1.109, allocations: 1.425 MB / 1.211 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/1.112, allocations: 1.037 MB / 1.212 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005459/1.118, allocations: 3.878 MB / 1.216 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/1.12, allocations: 0.7803 MB / 1.217 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00867/1.128, allocations: 3.092 MB / 1.22 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/1.13, allocations: 0.8907 MB / 1.22 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004609/1.131, allocations: 44 kB / 1.221 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/1.132, allocations: 383.2 kB / 1.221 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007514/1.133, allocations: 402.6 kB / 1.221 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007879/1.134, allocations: 293 kB / 1.222 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/1.136, allocations: 1.06 MB / 1.223 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/1.136, allocations: 0 / 1.223 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.295e-06/1.136, allocations: 0 / 1.223 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.844e-05/1.136, allocations: 0 / 1.223 GB, free: 14.37 MB / 0.9825 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.002566/1.139, allocations: 1.394 MB / 1.224 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.139, allocations: 8.562 kB / 1.224 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002508/1.139, allocations: 126.7 kB / 1.224 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/1.14, allocations: 206.1 kB / 1.224 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/1.141, allocations: 0.7889 MB / 1.225 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/1.142, allocations: 129.4 kB / 1.225 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/1.142, allocations: 84 kB / 1.225 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/1.143, allocations: 0.9259 MB / 1.226 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.143, allocations: 4 kB / 1.226 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.247e-05/1.143, allocations: 39.92 kB / 1.226 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/1.143, allocations: 23.95 kB / 1.226 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008966/1.144, allocations: 0.5072 MB / 1.227 GB, free: 9.926 MB / 0.9825 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.005093/1.149, allocations: 4.892 MB / 1.231 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/1.15, allocations: 420.6 kB / 1.232 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/1.15, allocations: 267.8 kB / 1.232 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.15, allocations: 97.25 kB / 1.232 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/1.151, allocations: 58.45 kB / 1.232 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/1.151, allocations: 0 / 1.232 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001877/1.152, allocations: 0.7978 MB / 1.233 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/1.153, allocations: 401.4 kB / 1.233 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/1.154, allocations: 1.267 MB / 1.235 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/1.154, allocations: 37.7 kB / 1.235 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/1.155, allocations: 0.5457 MB / 1.235 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.573e-05/1.155, allocations: 114.6 kB / 1.235 GB, free: 392 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/1.155, allocations: 4 kB / 1.235 GB, free: 388 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.155, allocations: 322 kB / 1.236 GB, free: 60 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.155, allocations: 91.88 kB / 1.236 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/1.156, allocations: 354 kB / 1.236 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/1.156, allocations: 143.8 kB / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/1.156, allocations: 0 / 1.236 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009176/1.157, allocations: 0.5014 MB / 1.237 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.157, allocations: 9.875 kB / 1.237 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.157, allocations: 4 kB / 1.237 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002982/1.157, allocations: 73.73 kB / 1.237 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/1.158, allocations: 59.91 kB / 1.237 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.16, allocations: 3.027 MB / 1.24 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/1.161, allocations: 111.2 kB / 1.24 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.161, allocations: 16 kB / 1.24 GB, free: 11.27 MB / 0.9981 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.0004238/1.161, allocations: 277.6 kB / 1.24 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004257/1.162, allocations: 142.3 kB / 1.24 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/1.162, allocations: 131.9 kB / 1.24 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.162, allocations: 8 kB / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.162, allocations: 4 kB / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.162, allocations: 4 kB / 1.24 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/1.165, allocations: 2.524 MB / 1.243 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.165, allocations: 4 kB / 1.243 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.166, allocations: 51.91 kB / 1.243 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001973/1.166, allocations: 74.33 kB / 1.243 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/1.166, allocations: 12 kB / 1.243 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/1.168, allocations: 2.931 MB / 1.246 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.168, allocations: 7.938 kB / 1.246 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009526/1.169, allocations: 0.6843 MB / 1.247 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/1.17, allocations: 251.3 kB / 1.247 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/1.17, allocations: 15.98 kB / 1.247 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007351/1.171, allocations: 67.88 kB / 1.247 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.695e-05/1.171, allocations: 39.86 kB / 1.247 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/1.171, allocations: 20 kB / 1.247 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001298/1.172, allocations: 0.8646 MB / 1.248 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.172, allocations: 4 kB / 1.248 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001175/1.173, allocations: 259.8 kB / 1.248 GB, free: 2.383 MB / 0.9981 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.001651/1.175, allocations: 1.34 MB / 1.249 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009815/1.176, allocations: 0.5204 MB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.176, allocations: 0.6875 kB / 1.25 GB, free: 416 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.6525/1.828, allocations: 401.6 kB / 1.25 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004319/1.833, allocations: 0.761 MB / 1.251 GB, free: 269.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.845, allocations: 6.531 MB / 1.257 GB, free: 266.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/1.846, allocations: 1.144 MB / 1.259 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001402/1.847, allocations: 243.3 kB / 1.259 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005167/1.848, allocations: 437.1 kB / 1.259 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.383e-06/1.848, allocations: 0 / 1.259 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05608/1.904, allocations: 32.83 MB / 1.291 GB, free: 240.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.904, allocations: 280.1 kB / 1.292 GB, free: 240.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/4.516, allocations: 0 / 1.292 GB, free: 240.3 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