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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007682/0.007682, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001723/0.001723, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.531/2.531, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 71.89 kB / 1.054 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8277, allocations: 157.4 MB / 1.207 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2532/1.081, allocations: 241.9 MB / 1.444 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02162/1.103, allocations: 13.52 MB / 1.457 GB, free: 13.12 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/1.105, allocations: 59.56 kB / 1.457 GB, free: 13.07 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00314/1.108, allocations: 0.9782 MB / 1.458 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005471/1.114, allocations: 1.783 MB / 1.459 GB, free: 10.29 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0036/1.118, allocations: 1.249 MB / 1.461 GB, free: 9.051 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005364/1.123, allocations: 3.262 MB / 1.464 GB, free: 5.781 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/1.125, allocations: 1.051 MB / 1.465 GB, free: 4.707 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01199/1.137, allocations: 4.141 MB / 1.469 GB, free: 0.5508 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/1.14, allocations: 0.9061 MB / 1.47 GB, free: 15.64 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0006381/1.14, allocations: 76 kB / 1.47 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/1.143, allocations: 0.6936 MB / 1.471 GB, free: 14.87 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006354/1.143, allocations: 446.5 kB / 1.471 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001131/1.145, allocations: 0.6839 MB / 1.472 GB, free: 13.75 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00239/1.147, allocations: 1.514 MB / 1.473 GB, free: 12.23 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.147, allocations: 0 / 1.473 GB, free: 12.23 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.773e-06/1.147, allocations: 0 / 1.473 GB, free: 12.23 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.147, allocations: 0 / 1.473 GB, free: 12.23 MB / 1.201 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.002316/1.149, allocations: 1.619 MB / 1.475 GB, free: 10.55 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.149, allocations: 12.02 kB / 1.475 GB, free: 10.54 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/1.15, allocations: 122.7 kB / 1.475 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006803/1.15, allocations: 206.1 kB / 1.475 GB, free: 10.21 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.152, allocations: 0.9011 MB / 1.476 GB, free: 9.25 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.152, allocations: 121.4 kB / 1.476 GB, free: 9.121 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/1.152, allocations: 84 kB / 1.476 GB, free: 9.039 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/1.153, allocations: 0.9181 MB / 1.477 GB, free: 8.027 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/1.153, allocations: 11.94 kB / 1.477 GB, free: 8.016 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/1.154, allocations: 35.98 kB / 1.477 GB, free: 7.98 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/1.154, allocations: 20 kB / 1.477 GB, free: 7.961 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000838/1.154, allocations: 0.5148 MB / 1.478 GB, free: 7.449 MB / 1.201 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.005133/1.16, allocations: 4.857 MB / 1.482 GB, free: 2.277 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006639/1.16, allocations: 420.7 kB / 1.483 GB, free: 1.738 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/1.161, allocations: 272 kB / 1.483 GB, free: 1.43 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/1.161, allocations: 97.33 kB / 1.483 GB, free: 1.316 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/1.161, allocations: 58.36 kB / 1.483 GB, free: 1.25 MB / 1.201 GB Notification: Performance of pre-optimization done (n=31): time 2.776e-06/1.161, allocations: 0 / 1.483 GB, free: 1.25 MB / 1.201 GB Notification: Performance of matching and sorting (n=31): time 0.001787/1.163, allocations: 0.7738 MB / 1.484 GB, free: 436 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/1.163, allocations: 405.8 kB / 1.484 GB, free: 15.94 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/1.164, allocations: 1.275 MB / 1.486 GB, free: 14.65 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/1.165, allocations: 37.7 kB / 1.486 GB, free: 14.61 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/1.165, allocations: 0.5457 MB / 1.486 GB, free: 14.06 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/1.165, allocations: 106.4 kB / 1.486 GB, free: 13.95 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/1.165, allocations: 81.69 kB / 1.486 GB, free: 13.87 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.165, allocations: 325.9 kB / 1.487 GB, free: 13.54 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/1.166, allocations: 95.92 kB / 1.487 GB, free: 13.45 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/1.166, allocations: 332 kB / 1.487 GB, free: 13.03 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/1.166, allocations: 328.5 kB / 1.487 GB, free: 12.66 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/1.166, allocations: 0 / 1.487 GB, free: 12.66 MB / 1.217 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008398/1.167, allocations: 0.4894 MB / 1.488 GB, free: 12.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.167, allocations: 8 kB / 1.488 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/1.167, allocations: 0 / 1.488 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/1.168, allocations: 78.17 kB / 1.488 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/1.168, allocations: 63.84 kB / 1.488 GB, free: 12.01 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/1.17, allocations: 3.262 MB / 1.491 GB, free: 8.469 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/1.171, allocations: 95.08 kB / 1.491 GB, free: 8.375 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/1.171, allocations: 28.05 kB / 1.491 GB, free: 8.348 MB / 1.217 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004174/1.172, allocations: 269.7 kB / 1.492 GB, free: 8.074 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/1.172, allocations: 138.4 kB / 1.492 GB, free: 7.938 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/1.172, allocations: 124 kB / 1.492 GB, free: 7.812 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/1.172, allocations: 11.94 kB / 1.492 GB, free: 7.801 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/1.172, allocations: 4 kB / 1.492 GB, free: 7.797 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.172, allocations: 4 kB / 1.492 GB, free: 7.793 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/1.175, allocations: 2.512 MB / 1.494 GB, free: 5.137 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.175, allocations: 8.688 kB / 1.494 GB, free: 5.129 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.175, allocations: 51.91 kB / 1.494 GB, free: 5.078 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000216/1.176, allocations: 69.67 kB / 1.494 GB, free: 5.004 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.176, allocations: 12 kB / 1.494 GB, free: 4.992 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/1.178, allocations: 3.262 MB / 1.498 GB, free: 1.453 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.178, allocations: 11.94 kB / 1.498 GB, free: 1.441 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000904/1.179, allocations: 0.6806 MB / 1.498 GB, free: 0.668 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004018/1.18, allocations: 243.4 kB / 1.498 GB, free: 420 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/1.18, allocations: 16 kB / 1.498 GB, free: 404 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/1.18, allocations: 39.95 kB / 1.499 GB, free: 364 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/1.181, allocations: 47.83 kB / 1.499 GB, free: 316 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/1.181, allocations: 16 kB / 1.499 GB, free: 300 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00119/1.182, allocations: 0.8764 MB / 1.499 GB, free: 15.41 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.904e-06/1.182, allocations: 0 / 1.499 GB, free: 15.41 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001017/1.183, allocations: 263.6 kB / 1.5 GB, free: 15.16 MB / 1.232 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001595/1.184, allocations: 1.329 MB / 1.501 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009839/1.185, allocations: 0.517 MB / 1.501 GB, free: 13.19 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.185, allocations: 0 / 1.501 GB, free: 13.19 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0005626/1.186, allocations: 406.8 kB / 1.502 GB, free: 12.77 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/1.189, allocations: 0.7531 MB / 1.503 GB, free: 12.03 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/1.201, allocations: 8.211 MB / 1.511 GB, free: 3.457 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/1.202, allocations: 1.13 MB / 1.512 GB, free: 2.297 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009692/1.203, allocations: 238.5 kB / 1.512 GB, free: 2.059 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005421/1.204, allocations: 443.3 kB / 1.512 GB, free: 1.625 MB / 1.232 GB Notification: Performance of SimCode: time 1.233e-06/1.204, allocations: 0 / 1.512 GB, free: 1.625 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/1.282, allocations: 34.81 MB / 1.546 GB, free: 15.36 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.61, allocations: 21.09 kB / 1.546 GB, free: 15.34 MB / 1.279 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/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) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches