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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.08 kB / 0.912 GB, free: 33.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3334, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.PressureCurve): time 0.8746/1.208, allocations: 193.6 MB / 1.257 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01872/1.227, allocations: 14.14 MB / 1.271 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/1.229, allocations: 42.31 kB / 1.271 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01149/1.241, allocations: 5.917 MB / 1.277 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007095/1.248, allocations: 2.297 MB / 1.279 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/1.251, allocations: 1.246 MB / 1.28 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01456/1.266, allocations: 8.53 MB / 1.289 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/1.268, allocations: 0.9327 MB / 1.29 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/1.272, allocations: 1.325 MB / 1.291 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/1.275, allocations: 0.9312 MB / 1.292 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005584/1.275, allocations: 121.8 kB / 1.292 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006268/1.282, allocations: 2.367 MB / 1.294 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001231/1.283, allocations: 0.6274 MB / 1.295 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002606/1.285, allocations: 0.8396 MB / 1.296 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00794/1.293, allocations: 3.183 MB / 1.299 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.293, allocations: 0.75 kB / 1.299 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.293, allocations: 0 / 1.299 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001079/1.294, allocations: 0.75 kB / 1.299 GB, free: 4.957 MB / 0.9981 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.00719/1.301, allocations: 2.088 MB / 1.301 GB, free: 19.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.301, allocations: 10.94 kB / 1.301 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/1.305, allocations: 0.5849 MB / 1.301 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005796/1.311, allocations: 2.052 MB / 1.303 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.311, allocations: 54.44 kB / 1.303 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/1.312, allocations: 64.38 kB / 1.303 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.314, allocations: 0.9604 MB / 1.304 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/1.314, allocations: 0 / 1.304 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/1.314, allocations: 28.28 kB / 1.304 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.678e-05/1.314, allocations: 22.31 kB / 1.304 GB, free: 19.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.316, allocations: 0.7481 MB / 1.305 GB, free: 19.1 MB / 1.014 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.00768/1.324, allocations: 4.347 MB / 1.309 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/1.326, allocations: 0.6331 MB / 1.31 GB, free: 17.01 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/1.327, allocations: 301.5 kB / 1.31 GB, free: 17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003392/1.327, allocations: 196.6 kB / 1.311 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.327, allocations: 33.06 kB / 1.311 GB, free: 16.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.335e-06/1.327, allocations: 0 / 1.311 GB, free: 16.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.003572/1.331, allocations: 1.141 MB / 1.312 GB, free: 16.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/1.331, allocations: 60.94 kB / 1.312 GB, free: 16.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/1.334, allocations: 1.655 MB / 1.313 GB, free: 16.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/1.334, allocations: 37.58 kB / 1.313 GB, free: 16.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006094/1.335, allocations: 0.6479 MB / 1.314 GB, free: 16.05 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/1.335, allocations: 117.4 kB / 1.314 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/1.335, allocations: 233.2 kB / 1.314 GB, free: 15.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.335, allocations: 347.7 kB / 1.315 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/1.336, allocations: 0.7207 MB / 1.315 GB, free: 15.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/1.338, allocations: 0.9625 MB / 1.316 GB, free: 15.38 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/1.34, allocations: 1.562 MB / 1.318 GB, free: 15.15 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/1.34, allocations: 2.688 kB / 1.318 GB, free: 15.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003369/1.343, allocations: 1.96 MB / 1.32 GB, free: 14.99 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.343, allocations: 12.56 kB / 1.32 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.343, allocations: 5.562 kB / 1.32 GB, free: 14.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/1.344, allocations: 207.9 kB / 1.32 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008085/1.345, allocations: 190.1 kB / 1.32 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006498/1.345, allocations: 0.7019 MB / 1.321 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.347, allocations: 133.7 kB / 1.321 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/1.347, allocations: 52.05 kB / 1.321 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001652/1.349, allocations: 0.9916 MB / 1.322 GB, free: 14.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/1.35, allocations: 0.8564 MB / 1.323 GB, free: 14.05 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001958/1.352, allocations: 1.351 MB / 1.324 GB, free: 13.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.805e-06/1.352, allocations: 7.531 kB / 1.324 GB, free: 13.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003281/1.355, allocations: 1.761 MB / 1.326 GB, free: 13.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.355, allocations: 8.594 kB / 1.326 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.355, allocations: 6.812 kB / 1.326 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006919/1.356, allocations: 242.5 kB / 1.326 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/1.357, allocations: 183.2 kB / 1.326 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007147/1.357, allocations: 0.8737 MB / 1.327 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.359, allocations: 105.6 kB / 1.327 GB, free: 13.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/1.359, allocations: 50.06 kB / 1.327 GB, free: 13.09 MB / 1.014 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.0003311/1.359, allocations: 224.6 kB / 1.328 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/1.36, allocations: 143.2 kB / 1.328 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/1.362, allocations: 0.7973 MB / 1.328 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.362, allocations: 3.594 kB / 1.328 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.362, allocations: 0 / 1.328 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.362, allocations: 1.5 kB / 1.328 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/1.366, allocations: 1.891 MB / 1.33 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.366, allocations: 2.75 kB / 1.33 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005265/1.366, allocations: 82.67 kB / 1.33 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002191/1.367, allocations: 83.17 kB / 1.33 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/1.367, allocations: 14.45 kB / 1.33 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004924/1.367, allocations: 0.6804 MB / 1.331 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.367, allocations: 0.9844 kB / 1.331 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002535/1.37, allocations: 1.252 MB / 1.332 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007386/1.371, allocations: 280.6 kB / 1.333 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/1.371, allocations: 10.17 kB / 1.333 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009189/1.372, allocations: 43.53 kB / 1.333 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/1.372, allocations: 22.11 kB / 1.333 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/1.372, allocations: 23.08 kB / 1.333 GB, free: 10.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001994/1.374, allocations: 1.122 MB / 1.334 GB, free: 9.953 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.8e-07/1.374, allocations: 0 / 1.334 GB, free: 9.953 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002716/1.377, allocations: 0.676 MB / 1.334 GB, free: 9.844 MB / 1.014 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.001564/1.378, allocations: 494.8 kB / 1.335 GB, free: 9.672 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003953/1.382, allocations: 1.971 MB / 1.337 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.382, allocations: 0 / 1.337 GB, free: 9.043 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/1.383, allocations: 310.8 kB / 1.337 GB, free: 8.969 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/1.387, allocations: 0.8357 MB / 1.338 GB, free: 8.703 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00629/1.393, allocations: 2.658 MB / 1.341 GB, free: 7.422 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/1.395, allocations: 1.319 MB / 1.342 GB, free: 6.605 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002361/1.397, allocations: 422.1 kB / 1.342 GB, free: 6.484 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/1.398, allocations: 108.1 kB / 1.342 GB, free: 6.469 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.398, allocations: 0 / 1.342 GB, free: 6.469 MB / 1.014 GB Notification: Performance of Templates: time 0.06033/1.458, allocations: 33.2 MB / 1.375 GB, free: 14.8 MB / 1.045 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