Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.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: translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001467, allocations: 102 kB / 16.27 MB, free: 5.902 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.001527/0.001528, allocations: 188.7 kB / 17.2 MB, free: 5.535 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.562/2.562, allocations: 469.4 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 64.28 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.299, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.6363/0.9354, allocations: 75.63 MB / 1.138 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.04275/0.9782, allocations: 26.09 MB / 1.164 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007118/0.9853, allocations: 127.3 kB / 1.164 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.02344/1.009, allocations: 12.74 MB / 1.176 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0116/1.02, allocations: 3.775 MB / 1.18 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008372/1.029, allocations: 3.072 MB / 1.183 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.03708/1.066, allocations: 23.46 MB / 1.206 GB, free: 8.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004524/1.07, allocations: 2.643 MB / 1.208 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00706/1.078, allocations: 3 MB / 1.211 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00415/1.082, allocations: 2.346 MB / 1.214 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009179/1.083, allocations: 344 kB / 1.214 GB, free: 200 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007055/1.09, allocations: 3.088 MB / 1.217 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002119/1.092, allocations: 1.648 MB / 1.218 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003956/1.096, allocations: 2.476 MB / 1.221 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/1.108, allocations: 7.867 MB / 1.229 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.108, allocations: 0 / 1.229 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.453e-06/1.108, allocations: 3.938 kB / 1.229 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002345/1.109, allocations: 0 / 1.229 GB, free: 1.066 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01485/1.123, allocations: 5.518 MB / 1.234 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.123, allocations: 12.03 kB / 1.234 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008897/1.132, allocations: 1.512 MB / 1.235 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/1.146, allocations: 6.781 MB / 1.242 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008361/1.147, allocations: 263.5 kB / 1.242 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007011/1.147, allocations: 172 kB / 1.242 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006032/1.153, allocations: 2.55 MB / 1.245 GB, free: 8 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.154, allocations: 3.938 kB / 1.245 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/1.154, allocations: 64.08 kB / 1.245 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/1.154, allocations: 39.94 kB / 1.245 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005708/1.159, allocations: 2.037 MB / 1.247 GB, free: 13.86 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.02011/1.18, allocations: 10.81 MB / 1.258 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0054/1.185, allocations: 1.708 MB / 1.259 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/1.187, allocations: 0.7679 MB / 1.26 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006693/1.194, allocations: 3.99 MB / 1.264 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.194, allocations: 43.12 kB / 1.264 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=68): time 2.595e-06/1.194, allocations: 0 / 1.264 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.007784/1.202, allocations: 2.563 MB / 1.266 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/1.202, allocations: 63.97 kB / 1.267 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008252/1.21, allocations: 5.221 MB / 1.272 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004144/1.211, allocations: 49.7 kB / 1.272 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.212, allocations: 1.896 MB / 1.274 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/1.213, allocations: 260.5 kB / 1.274 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/1.214, allocations: 0.7209 MB / 1.274 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001006/1.214, allocations: 305.1 kB / 1.275 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/1.218, allocations: 2.215 MB / 1.277 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004532/1.222, allocations: 3.075 MB / 1.28 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007824/1.23, allocations: 4.895 MB / 1.285 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/1.23, allocations: 4 kB / 1.285 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.0111/1.241, allocations: 5.691 MB / 1.29 GB, free: 120 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/1.241, allocations: 18.47 kB / 1.29 GB, free: 104 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/1.241, allocations: 20 kB / 1.29 GB, free: 84 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.593e-05/1.242, allocations: 36 kB / 1.29 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003599/1.245, allocations: 0.6552 MB / 1.291 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/1.247, allocations: 2.375 MB / 1.293 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00404/1.251, allocations: 418.2 kB / 1.294 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005098/1.252, allocations: 171.9 kB / 1.294 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005408/1.257, allocations: 2.988 MB / 1.297 GB, free: 9.375 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004099/1.262, allocations: 2.845 MB / 1.3 GB, free: 6.188 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007123/1.269, allocations: 4.454 MB / 1.304 GB, free: 1.441 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.72e-05/1.269, allocations: 4 kB / 1.304 GB, free: 1.438 MB / 1.014 GB Notification: Performance of matching and sorting (n=407) (initialization_lambda0): time 0.01075/1.28, allocations: 5.236 MB / 1.309 GB, free: 12.19 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/1.28, allocations: 16.12 kB / 1.309 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/1.28, allocations: 24 kB / 1.309 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.02e-05/1.28, allocations: 32 kB / 1.309 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002963/1.283, allocations: 0.6553 MB / 1.31 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.785e-05/1.283, allocations: 51.78 kB / 1.31 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.287, allocations: 336.2 kB / 1.31 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004264/1.287, allocations: 160 kB / 1.31 GB, free: 10.93 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (282): * Single equations (assignments): 269 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007251/1.288, allocations: 318.9 kB / 1.311 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.289, allocations: 406.5 kB / 1.311 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/1.296, allocations: 2.352 MB / 1.313 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/1.296, allocations: 16 kB / 1.313 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.296, allocations: 0 / 1.313 GB, free: 7.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/1.296, allocations: 7.969 kB / 1.313 GB, free: 7.816 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/1.308, allocations: 4.879 MB / 1.318 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.308, allocations: 0 / 1.318 GB, free: 2.867 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001652/1.31, allocations: 287.7 kB / 1.318 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/1.31, allocations: 104.8 kB / 1.318 GB, free: 2.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/1.31, allocations: 31.95 kB / 1.318 GB, free: 2.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/1.311, allocations: 2.165 MB / 1.321 GB, free: 216 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.311, allocations: 0 / 1.321 GB, free: 216 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/1.317, allocations: 2.261 MB / 1.323 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002022/1.319, allocations: 0.7021 MB / 1.323 GB, free: 13.19 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000823/1.32, allocations: 23.94 kB / 1.323 GB, free: 13.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.322, allocations: 159.8 kB / 1.324 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.323, allocations: 56.92 kB / 1.324 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/1.323, allocations: 47.95 kB / 1.324 GB, free: 12.91 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00654/1.329, allocations: 3.52 MB / 1.327 GB, free: 9.406 MB / 1.045 GB Notification: Performance of sort global known variables: time 5.21e-07/1.329, allocations: 0 / 1.327 GB, free: 9.406 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006329/1.336, allocations: 1.857 MB / 1.329 GB, free: 7.547 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (86): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/1.338, allocations: 0.8198 MB / 1.33 GB, free: 6.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.351, allocations: 6.282 MB / 1.336 GB, free: 460 kB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.351, allocations: 7.938 kB / 1.336 GB, free: 452 kB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/1.354, allocations: 0.8815 MB / 1.337 GB, free: 15.56 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009698/1.364, allocations: 2.211 MB / 1.339 GB, free: 13.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.379, allocations: 7.573 MB / 1.346 GB, free: 5.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002331/1.381, allocations: 2.528 MB / 1.349 GB, free: 3.242 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.383, allocations: 339.3 kB / 1.349 GB, free: 2.91 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/1.383, allocations: 0 / 1.349 GB, free: 2.91 MB / 1.061 GB Notification: Performance of Templates: time 0.1674/1.55, allocations: 127.9 MB / 1.474 GB, free: 3.441 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches