Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") translateModel(Buildings.Fluid.Movers.Validation.PressureCurve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mov.dpMachine",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008277/0.008277, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001992/0.001992, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 472.7 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 68.11 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9304, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.2093/1.14, allocations: 193.6 MB / 1.415 GB, free: 11.21 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01978/1.16, allocations: 14.14 MB / 1.428 GB, free: 13.02 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/1.162, allocations: 39.81 kB / 1.429 GB, free: 12.98 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005051/1.167, allocations: 1.587 MB / 1.43 GB, free: 11.39 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006227/1.173, allocations: 2.353 MB / 1.432 GB, free: 9.031 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003469/1.177, allocations: 1.265 MB / 1.434 GB, free: 7.77 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01325/1.19, allocations: 8.638 MB / 1.442 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001991/1.192, allocations: 0.9531 MB / 1.443 GB, free: 14.15 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/1.195, allocations: 1.351 MB / 1.444 GB, free: 12.79 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002503/1.198, allocations: 0.9768 MB / 1.445 GB, free: 11.82 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005051/1.198, allocations: 128 kB / 1.445 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004854/1.203, allocations: 2.37 MB / 1.448 GB, free: 9.316 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008954/1.204, allocations: 0.6389 MB / 1.448 GB, free: 8.676 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/1.206, allocations: 0.8473 MB / 1.449 GB, free: 7.824 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006089/1.212, allocations: 3.259 MB / 1.452 GB, free: 4.555 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.212, allocations: 0 / 1.452 GB, free: 4.555 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.457e-06/1.212, allocations: 0 / 1.452 GB, free: 4.555 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.515e-05/1.212, allocations: 7.938 kB / 1.452 GB, free: 4.547 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.004663/1.217, allocations: 2.168 MB / 1.454 GB, free: 2.312 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/1.217, allocations: 11.98 kB / 1.454 GB, free: 2.301 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003774/1.22, allocations: 0.5998 MB / 1.455 GB, free: 1.699 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004998/1.226, allocations: 2.147 MB / 1.457 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/1.226, allocations: 49.31 kB / 1.457 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/1.226, allocations: 71.92 kB / 1.457 GB, free: 15.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.228, allocations: 0.9535 MB / 1.458 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/1.228, allocations: 0 / 1.458 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/1.228, allocations: 20 kB / 1.458 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/1.228, allocations: 29.31 kB / 1.458 GB, free: 14.35 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/1.23, allocations: 0.7545 MB / 1.459 GB, free: 13.59 MB / 1.186 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.006441/1.236, allocations: 4.343 MB / 1.463 GB, free: 8.969 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/1.238, allocations: 0.6118 MB / 1.464 GB, free: 8.348 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/1.239, allocations: 288.7 kB / 1.464 GB, free: 8.062 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/1.239, allocations: 190.2 kB / 1.464 GB, free: 7.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/1.239, allocations: 42.5 kB / 1.464 GB, free: 7.789 MB / 1.186 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/1.239, allocations: 0 / 1.464 GB, free: 7.789 MB / 1.186 GB Notification: Performance of matching and sorting (n=31): time 0.003164/1.242, allocations: 1.127 MB / 1.465 GB, free: 6.633 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.242, allocations: 59.34 kB / 1.465 GB, free: 6.562 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/1.245, allocations: 1.672 MB / 1.467 GB, free: 4.887 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/1.245, allocations: 37.7 kB / 1.467 GB, free: 4.844 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005925/1.245, allocations: 0.6626 MB / 1.468 GB, free: 4.172 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/1.246, allocations: 123 kB / 1.468 GB, free: 4.051 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/1.246, allocations: 234.5 kB / 1.468 GB, free: 3.816 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.246, allocations: 349.9 kB / 1.468 GB, free: 3.469 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/1.247, allocations: 0.7192 MB / 1.469 GB, free: 2.746 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.249, allocations: 0.953 MB / 1.47 GB, free: 1.703 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/1.251, allocations: 1.568 MB / 1.472 GB, free: 64 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.251, allocations: 0 / 1.472 GB, free: 64 kB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003282/1.254, allocations: 1.967 MB / 1.474 GB, free: 14.08 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/1.254, allocations: 8 kB / 1.474 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.254, allocations: 8 kB / 1.474 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005755/1.255, allocations: 200.7 kB / 1.474 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008687/1.256, allocations: 187.9 kB / 1.474 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006936/1.256, allocations: 0.7046 MB / 1.475 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.258, allocations: 127.8 kB / 1.475 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.258, allocations: 55.98 kB / 1.475 GB, free: 12.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001729/1.26, allocations: 0.9899 MB / 1.476 GB, free: 11.78 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001295/1.261, allocations: 0.8476 MB / 1.477 GB, free: 10.84 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002154/1.263, allocations: 1.353 MB / 1.478 GB, free: 9.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/1.263, allocations: 0 / 1.478 GB, free: 9.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003397/1.267, allocations: 1.775 MB / 1.48 GB, free: 7.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.267, allocations: 8 kB / 1.48 GB, free: 7.617 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.267, allocations: 4.438 kB / 1.48 GB, free: 7.613 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/1.267, allocations: 240.7 kB / 1.48 GB, free: 7.375 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/1.268, allocations: 187.7 kB / 1.48 GB, free: 7.191 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007962/1.269, allocations: 0.8607 MB / 1.481 GB, free: 6.305 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.27, allocations: 115.7 kB / 1.481 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.27, allocations: 43.98 kB / 1.481 GB, free: 6.148 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (87): * Single equations (assignments): 84 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002793/1.271, allocations: 229.7 kB / 1.481 GB, free: 5.918 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/1.271, allocations: 143 kB / 1.481 GB, free: 5.777 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001909/1.273, allocations: 0.7901 MB / 1.482 GB, free: 4.973 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.273, allocations: 7.875 kB / 1.482 GB, free: 4.965 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.273, allocations: 4 kB / 1.482 GB, free: 4.961 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.273, allocations: 7.984 kB / 1.482 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/1.276, allocations: 1.87 MB / 1.484 GB, free: 3.004 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.276, allocations: 0 / 1.484 GB, free: 3.004 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/1.277, allocations: 80.09 kB / 1.484 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/1.277, allocations: 84.8 kB / 1.484 GB, free: 2.84 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/1.277, allocations: 16 kB / 1.484 GB, free: 2.824 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004952/1.278, allocations: 0.6811 MB / 1.485 GB, free: 2.117 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.278, allocations: 8.094 kB / 1.485 GB, free: 2.109 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/1.28, allocations: 1.244 MB / 1.486 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/1.28, allocations: 283.9 kB / 1.486 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/1.281, allocations: 15.98 kB / 1.486 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/1.281, allocations: 44.08 kB / 1.486 GB, free: 480 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/1.282, allocations: 35.84 kB / 1.486 GB, free: 444 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/1.282, allocations: 19.98 kB / 1.486 GB, free: 424 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001695/1.283, allocations: 1.128 MB / 1.488 GB, free: 15.29 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.71e-07/1.283, allocations: 0 / 1.488 GB, free: 15.29 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001907/1.285, allocations: 0.6903 MB / 1.488 GB, free: 14.6 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (mov.filter.s[1],mov.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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/1.286, allocations: 0.4909 MB / 1.489 GB, free: 14.11 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003687/1.29, allocations: 1.942 MB / 1.491 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.29, allocations: 3.938 kB / 1.491 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/1.291, allocations: 312 kB / 1.491 GB, free: 11.87 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/1.294, allocations: 0.819 MB / 1.492 GB, free: 11.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005712/1.3, allocations: 2.661 MB / 1.494 GB, free: 8.352 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.301, allocations: 1.323 MB / 1.496 GB, free: 7 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001536/1.303, allocations: 423.8 kB / 1.496 GB, free: 6.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/1.303, allocations: 111.4 kB / 1.496 GB, free: 6.473 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/1.303, allocations: 0 / 1.496 GB, free: 6.473 MB / 1.217 GB Notification: Performance of Templates: time 0.05466/1.358, allocations: 33.42 MB / 1.529 GB, free: 5.469 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_PressureCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.PressureCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches