Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Movers.Examples.MoverContinuous,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Examples_MoverContinuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.MoverContinuous,fileNamePrefix="Buildings_10_Buildings_Fluid_Movers_Examples_MoverContinuous",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.005486/0.005486, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001174/0.001174, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.587/2.587, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 60.12 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2639, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.07724/0.3412, allocations: 75.64 MB / 1.24 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6196/0.9609, allocations: 26.07 MB / 1.265 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004067/0.965, allocations: 123.6 kB / 1.266 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006831/0.9718, allocations: 2.624 MB / 1.268 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.9831, allocations: 4.073 MB / 1.272 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009371/0.9925, allocations: 3.16 MB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0459/1.038, allocations: 27.34 MB / 1.302 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005357/1.044, allocations: 2.672 MB / 1.305 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008707/1.053, allocations: 3.135 MB / 1.308 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004657/1.057, allocations: 2.401 MB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001502/1.059, allocations: 353.6 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007247/1.066, allocations: 2.526 MB / 1.313 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002276/1.068, allocations: 1.668 MB / 1.314 GB, free: 13.02 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.005461/1.074, allocations: 2.512 MB / 1.317 GB, free: 11.41 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/1.087, allocations: 7.64 MB / 1.324 GB, free: 7.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/1.087, allocations: 0 / 1.324 GB, free: 7.762 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.513e-06/1.087, allocations: 3.938 kB / 1.324 GB, free: 7.758 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002197/1.087, allocations: 0 / 1.324 GB, free: 7.758 MB / 1.014 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.01463/1.102, allocations: 5.772 MB / 1.33 GB, free: 3.559 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.102, allocations: 13.58 kB / 1.33 GB, free: 3.555 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003165/1.102, allocations: 212.3 kB / 1.33 GB, free: 3.383 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/1.111, allocations: 1.539 MB / 1.332 GB, free: 2.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/1.127, allocations: 8.472 MB / 1.34 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/1.127, allocations: 131.6 kB / 1.34 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005002/1.128, allocations: 174.5 kB / 1.34 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005383/1.133, allocations: 2.535 MB / 1.343 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.133, allocations: 11.09 kB / 1.343 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/1.133, allocations: 65.22 kB / 1.343 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/1.133, allocations: 37.06 kB / 1.343 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005511/1.139, allocations: 2.008 MB / 1.345 GB, free: 10.95 MB / 1.029 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.02026/1.159, allocations: 11.11 MB / 1.356 GB, free: 480 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005569/1.165, allocations: 1.667 MB / 1.357 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/1.167, allocations: 0.7601 MB / 1.358 GB, free: 14.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007935/1.175, allocations: 4.093 MB / 1.362 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/1.175, allocations: 43.12 kB / 1.362 GB, free: 9.652 MB / 1.045 GB Notification: Performance of pre-optimization done (n=68): time 2.305e-06/1.175, allocations: 0 / 1.362 GB, free: 9.652 MB / 1.045 GB Notification: Performance of matching and sorting (n=68): time 0.008391/1.183, allocations: 2.549 MB / 1.365 GB, free: 7.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.184, allocations: 63.91 kB / 1.365 GB, free: 7.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.197, allocations: 6.97 MB / 1.371 GB, free: 72 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0004324/1.197, allocations: 53.69 kB / 1.371 GB, free: 12 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.002503/1.2, allocations: 1.955 MB / 1.373 GB, free: 14.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005228/1.2, allocations: 266.9 kB / 1.374 GB, free: 13.81 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/1.202, allocations: 0.6813 MB / 1.374 GB, free: 13.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.918e-05/1.202, allocations: 305.1 kB / 1.375 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/1.206, allocations: 2.023 MB / 1.377 GB, free: 10.79 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00456/1.21, allocations: 2.867 MB / 1.379 GB, free: 7.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007734/1.218, allocations: 4.525 MB / 1.384 GB, free: 2.797 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/1.218, allocations: 8 kB / 1.384 GB, free: 2.789 MB / 1.061 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01013/1.228, allocations: 5.309 MB / 1.389 GB, free: 13.48 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/1.228, allocations: 17.56 kB / 1.389 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/1.228, allocations: 23.94 kB / 1.389 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.882e-05/1.228, allocations: 35.94 kB / 1.389 GB, free: 13.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/1.232, allocations: 0.6255 MB / 1.39 GB, free: 12.79 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002426/1.234, allocations: 2.392 MB / 1.392 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004221/1.239, allocations: 405.9 kB / 1.392 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/1.239, allocations: 148 kB / 1.392 GB, free: 9.781 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005487/1.245, allocations: 2.801 MB / 1.395 GB, free: 6.973 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004187/1.249, allocations: 2.651 MB / 1.398 GB, free: 3.992 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007084/1.256, allocations: 4.079 MB / 1.402 GB, free: 15.64 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.123e-05/1.256, allocations: 4 kB / 1.402 GB, free: 15.64 MB / 1.092 GB Notification: Performance of matching and sorting (n=383) (initialization_lambda0): time 0.009737/1.266, allocations: 4.852 MB / 1.407 GB, free: 10.79 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/1.266, allocations: 12 kB / 1.407 GB, free: 10.78 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/1.266, allocations: 23.94 kB / 1.407 GB, free: 10.76 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/1.266, allocations: 32 kB / 1.407 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/1.269, allocations: 0.636 MB / 1.407 GB, free: 10.09 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.777e-05/1.269, allocations: 43.86 kB / 1.407 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/1.273, allocations: 330.8 kB / 1.408 GB, free: 9.723 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/1.273, allocations: 144 kB / 1.408 GB, free: 9.582 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * 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 (266): * Single equations (assignments): 257 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * 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.0005899/1.274, allocations: 304.2 kB / 1.408 GB, free: 9.277 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/1.275, allocations: 440.9 kB / 1.408 GB, free: 8.844 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006878/1.282, allocations: 2.326 MB / 1.411 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.282, allocations: 11.98 kB / 1.411 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/1.282, allocations: 0 / 1.411 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.282, allocations: 7.922 kB / 1.411 GB, free: 6.504 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01298/1.295, allocations: 4.988 MB / 1.416 GB, free: 1.488 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.295, allocations: 0 / 1.416 GB, free: 1.488 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.297, allocations: 271.7 kB / 1.416 GB, free: 1.223 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002751/1.297, allocations: 104.8 kB / 1.416 GB, free: 1.117 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.764e-05/1.297, allocations: 31.97 kB / 1.416 GB, free: 1.086 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.299, allocations: 2.155 MB / 1.418 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.299, allocations: 0 / 1.418 GB, free: 14.86 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/1.306, allocations: 2.268 MB / 1.42 GB, free: 12.58 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.308, allocations: 0.7748 MB / 1.421 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/1.31, allocations: 20 kB / 1.421 GB, free: 11.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/1.313, allocations: 151.8 kB / 1.421 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/1.313, allocations: 64.84 kB / 1.421 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.313, allocations: 51.95 kB / 1.421 GB, free: 11.5 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.009591/1.322, allocations: 4.9 MB / 1.426 GB, free: 6.625 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.9e-07/1.322, allocations: 0 / 1.426 GB, free: 6.625 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.007474/1.33, allocations: 1.76 MB / 1.428 GB, free: 4.863 MB / 1.107 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.008206/1.338, allocations: 3.378 MB / 1.431 GB, free: 1.508 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.35, allocations: 5.695 MB / 1.437 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.35, allocations: 8.125 kB / 1.437 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/1.353, allocations: 0.8608 MB / 1.438 GB, free: 10.98 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009787/1.363, allocations: 2.262 MB / 1.44 GB, free: 8.777 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08123/1.444, allocations: 40.39 MB / 1.479 GB, free: 15.6 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004487/1.449, allocations: 2.552 MB / 1.482 GB, free: 13.01 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.005058/1.454, allocations: 1.174 MB / 1.483 GB, free: 11.83 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003103/1.457, allocations: 1.846 MB / 1.485 GB, free: 9.984 MB / 1.17 GB Notification: Performance of SimCode: time 9.72e-07/1.457, allocations: 0 / 1.485 GB, free: 9.984 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1888/1.646, allocations: 120.1 MB / 1.602 GB, free: 3.359 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.49/24.14, allocations: 3.984 kB / 1.602 GB, free: 3.355 MB / 1.279 GB (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_Movers_Examples_MoverContinuous.fmu > Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches