Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear",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.007501/0.007501, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001394/0.001394, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 482.4 MB / 0.7548 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.11 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2951, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.609/0.9041, allocations: 58.62 MB / 1.299 GB, free: 9.879 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0312/0.9354, allocations: 19.95 MB / 1.318 GB, free: 11.73 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003805/0.9392, allocations: 88.88 kB / 1.318 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006386/0.9456, allocations: 1.988 MB / 1.32 GB, free: 10.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009475/0.9551, allocations: 2.978 MB / 1.323 GB, free: 9.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006689/0.9618, allocations: 2.335 MB / 1.325 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02468/0.9865, allocations: 14.49 MB / 1.34 GB, free: 3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003609/0.9902, allocations: 1.821 MB / 1.341 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005381/0.9955, allocations: 2.22 MB / 1.343 GB, free: 1.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002518/0.9981, allocations: 1.575 MB / 1.345 GB, free: 328 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.9985, allocations: 215.6 kB / 1.345 GB, free: 328 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004967/1.003, allocations: 2.342 MB / 1.348 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009363/1.004, allocations: 0.9005 MB / 1.348 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0017/1.006, allocations: 1.442 MB / 1.35 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007548/1.014, allocations: 4.811 MB / 1.355 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.014, allocations: 4 kB / 1.355 GB, free: 10.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.807e-06/1.014, allocations: 4.781 kB / 1.355 GB, free: 10.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.174e-05/1.014, allocations: 3.938 kB / 1.355 GB, free: 10.26 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.006679/1.02, allocations: 3.435 MB / 1.358 GB, free: 7.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/1.021, allocations: 9.469 kB / 1.358 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/1.021, allocations: 163.5 kB / 1.358 GB, free: 7.523 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005995/1.027, allocations: 0.9605 MB / 1.359 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01786/1.045, allocations: 8.955 MB / 1.368 GB, free: 1.242 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.045, allocations: 92.22 kB / 1.368 GB, free: 1.199 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.045, allocations: 117.4 kB / 1.368 GB, free: 1.164 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/1.048, allocations: 1.51 MB / 1.369 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.048, allocations: 1.25 kB / 1.369 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.048, allocations: 41.66 kB / 1.369 GB, free: 212 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/1.048, allocations: 25.97 kB / 1.369 GB, free: 212 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/1.052, allocations: 1.333 MB / 1.371 GB, free: 15.58 MB / 1.076 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.01076/1.063, allocations: 7.444 MB / 1.378 GB, free: 9.301 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/1.066, allocations: 1.018 MB / 1.379 GB, free: 8.793 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/1.067, allocations: 0.4991 MB / 1.38 GB, free: 8.562 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004739/1.072, allocations: 3.015 MB / 1.382 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/1.072, allocations: 42 kB / 1.383 GB, free: 5.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=58): time 2.574e-06/1.072, allocations: 7.938 kB / 1.383 GB, free: 5.812 MB / 1.076 GB Notification: Performance of matching and sorting (n=58): time 0.005266/1.077, allocations: 1.731 MB / 1.384 GB, free: 4.891 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/1.077, allocations: 55.97 kB / 1.384 GB, free: 4.824 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/1.081, allocations: 2.705 MB / 1.387 GB, free: 2.105 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000167/1.081, allocations: 37.7 kB / 1.387 GB, free: 2.062 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/1.083, allocations: 1.089 MB / 1.388 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/1.083, allocations: 222.2 kB / 1.388 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/1.083, allocations: 451.2 kB / 1.389 GB, free: 308 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.084, allocations: 301.1 kB / 1.389 GB, free: 4 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/1.086, allocations: 1.156 MB / 1.39 GB, free: 14.84 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/1.089, allocations: 1.555 MB / 1.392 GB, free: 13.14 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004533/1.093, allocations: 2.465 MB / 1.394 GB, free: 10.56 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/1.093, allocations: 4 kB / 1.394 GB, free: 10.56 MB / 1.092 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006315/1.1, allocations: 3.054 MB / 1.397 GB, free: 7.492 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/1.1, allocations: 10.81 kB / 1.397 GB, free: 7.484 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/1.1, allocations: 8.438 kB / 1.397 GB, free: 7.477 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005147/1.1, allocations: 108.8 kB / 1.397 GB, free: 7.367 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.102, allocations: 351.5 kB / 1.397 GB, free: 7.023 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006388/1.102, allocations: 0.6148 MB / 1.398 GB, free: 6.383 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/1.105, allocations: 242.6 kB / 1.398 GB, free: 6.145 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/1.105, allocations: 107.9 kB / 1.398 GB, free: 6.039 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002871/1.108, allocations: 1.508 MB / 1.4 GB, free: 4.527 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002309/1.11, allocations: 1.375 MB / 1.401 GB, free: 3.004 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003791/1.114, allocations: 2.09 MB / 1.403 GB, free: 0.8047 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.433e-06/1.114, allocations: 3.984 kB / 1.403 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005553/1.119, allocations: 2.687 MB / 1.406 GB, free: 14.1 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.119, allocations: 15.97 kB / 1.406 GB, free: 14.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.119, allocations: 8 kB / 1.406 GB, free: 14.08 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/1.12, allocations: 124.8 kB / 1.406 GB, free: 13.95 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/1.121, allocations: 331.5 kB / 1.406 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/1.126, allocations: 2.821 MB / 1.409 GB, free: 10.59 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/1.128, allocations: 196.4 kB / 1.409 GB, free: 10.4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/1.128, allocations: 87.97 kB / 1.409 GB, free: 10.32 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 prepare postOptimizeDAE: time 0.0004164/1.129, allocations: 255.8 kB / 1.41 GB, free: 10.06 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/1.129, allocations: 254.2 kB / 1.41 GB, free: 9.809 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004284/1.133, allocations: 1.597 MB / 1.411 GB, free: 8.195 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.133, allocations: 8 kB / 1.411 GB, free: 8.188 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/1.133, allocations: 0 / 1.411 GB, free: 8.188 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.133, allocations: 3.984 kB / 1.411 GB, free: 8.184 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/1.14, allocations: 3.157 MB / 1.414 GB, free: 4.934 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.14, allocations: 4 kB / 1.414 GB, free: 4.93 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009613/1.141, allocations: 168 kB / 1.415 GB, free: 4.766 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/1.141, allocations: 72.8 kB / 1.415 GB, free: 4.691 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/1.141, allocations: 27.97 kB / 1.415 GB, free: 4.664 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004996/1.142, allocations: 0.5991 MB / 1.415 GB, free: 4.039 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.142, allocations: 4.062 kB / 1.415 GB, free: 4.035 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/1.145, allocations: 1.549 MB / 1.417 GB, free: 2.441 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008244/1.146, allocations: 455 kB / 1.417 GB, free: 1.977 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002731/1.146, allocations: 19.92 kB / 1.417 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.148, allocations: 83.92 kB / 1.417 GB, free: 1.875 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.148, allocations: 56.42 kB / 1.417 GB, free: 1.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.148, allocations: 47.97 kB / 1.417 GB, free: 1.77 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002822/1.151, allocations: 1.797 MB / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/1.151, allocations: 0 / 1.419 GB, free: 15.97 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003233/1.154, allocations: 1.263 MB / 1.42 GB, free: 14.71 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005821/1.16, allocations: 2.772 MB / 1.423 GB, free: 11.88 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007249/1.167, allocations: 3.464 MB / 1.427 GB, free: 8.418 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.167, allocations: 4.062 kB / 1.427 GB, free: 8.414 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.169, allocations: 0.5892 MB / 1.427 GB, free: 7.824 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005186/1.174, allocations: 1.237 MB / 1.428 GB, free: 6.637 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/1.209, allocations: 19.83 MB / 1.448 GB, free: 2.363 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.21, allocations: 1.732 MB / 1.449 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00266/1.213, allocations: 0.709 MB / 1.45 GB, free: 15.89 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.214, allocations: 1.026 MB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of SimCode: time 6.01e-07/1.214, allocations: 0 / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.349, allocations: 72.8 MB / 1.522 GB, free: 6.832 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 17/18.35, allocations: 12.84 kB / 1.522 GB, free: 6.824 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches