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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00841/0.00841, allocations: 101.5 kB / 15.73 MB, free: 6.449 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.001924/0.001924, allocations: 196.7 kB / 16.68 MB, free: 6.352 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.147/3.147, allocations: 469.4 MB / 0.7422 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 55.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.319, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.6454/0.9645, allocations: 58.57 MB / 1.277 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03545/1, allocations: 19.94 MB / 1.296 GB, free: 4.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/1.004, allocations: 88.62 kB / 1.296 GB, free: 4.082 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006882/1.011, allocations: 2.005 MB / 1.298 GB, free: 3.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01139/1.022, allocations: 3.079 MB / 1.301 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007361/1.03, allocations: 2.354 MB / 1.304 GB, free: 116 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02674/1.056, allocations: 14.42 MB / 1.318 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004549/1.061, allocations: 1.819 MB / 1.32 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006619/1.068, allocations: 2.142 MB / 1.322 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/1.071, allocations: 1.574 MB / 1.323 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/1.073, allocations: 211.3 kB / 1.323 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006398/1.079, allocations: 2.345 MB / 1.326 GB, free: 7.965 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001509/1.081, allocations: 0.8968 MB / 1.327 GB, free: 7.566 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003253/1.084, allocations: 1.444 MB / 1.328 GB, free: 6.637 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009247/1.093, allocations: 4.792 MB / 1.333 GB, free: 4.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.093, allocations: 1.031 kB / 1.333 GB, free: 4.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/1.093, allocations: 0 / 1.333 GB, free: 4.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001161/1.093, allocations: 0 / 1.333 GB, free: 4.73 MB / 1.029 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.008655/1.102, allocations: 3.432 MB / 1.336 GB, free: 2.133 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.102, allocations: 13.05 kB / 1.336 GB, free: 2.129 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002589/1.102, allocations: 159.4 kB / 1.336 GB, free: 1.996 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/1.108, allocations: 0.9638 MB / 1.337 GB, free: 1.547 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01842/1.127, allocations: 8.942 MB / 1.346 GB, free: 11.71 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/1.127, allocations: 88.88 kB / 1.346 GB, free: 11.68 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004457/1.127, allocations: 117.6 kB / 1.346 GB, free: 11.64 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/1.131, allocations: 1.523 MB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/1.132, allocations: 1.188 kB / 1.348 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/1.132, allocations: 45.97 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/1.132, allocations: 29.5 kB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003914/1.136, allocations: 1.341 MB / 1.349 GB, free: 10.04 MB / 1.045 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.01465/1.15, allocations: 7.189 MB / 1.356 GB, free: 4.074 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/1.154, allocations: 1.019 MB / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/1.155, allocations: 0.4977 MB / 1.357 GB, free: 3.344 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005895/1.161, allocations: 3.016 MB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.161, allocations: 46.88 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of pre-optimization done (n=58): time 3.186e-06/1.161, allocations: 0 / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of matching and sorting (n=58): time 0.0057/1.167, allocations: 1.721 MB / 1.362 GB, free: 15.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.167, allocations: 61.2 kB / 1.362 GB, free: 15.65 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005341/1.172, allocations: 2.702 MB / 1.365 GB, free: 14.19 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003497/1.172, allocations: 44.27 kB / 1.365 GB, free: 14.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.174, allocations: 1.095 MB / 1.366 GB, free: 13.18 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/1.174, allocations: 228 kB / 1.366 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009042/1.175, allocations: 442.2 kB / 1.367 GB, free: 12.75 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001054/1.175, allocations: 302.2 kB / 1.367 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/1.178, allocations: 1.15 MB / 1.368 GB, free: 11.89 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/1.181, allocations: 1.559 MB / 1.37 GB, free: 10.86 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/1.185, allocations: 2.47 MB / 1.372 GB, free: 9.309 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/1.185, allocations: 4 kB / 1.372 GB, free: 9.305 MB / 1.061 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.007588/1.193, allocations: 3.054 MB / 1.375 GB, free: 6.238 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/1.193, allocations: 12 kB / 1.375 GB, free: 6.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/1.193, allocations: 8 kB / 1.375 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/1.193, allocations: 116.7 kB / 1.375 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.195, allocations: 347.5 kB / 1.375 GB, free: 5.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/1.196, allocations: 0.6187 MB / 1.376 GB, free: 5.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/1.198, allocations: 235.2 kB / 1.376 GB, free: 4.887 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.199, allocations: 103.9 kB / 1.376 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003248/1.202, allocations: 1.499 MB / 1.378 GB, free: 3.281 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002439/1.204, allocations: 1.379 MB / 1.379 GB, free: 1.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003952/1.208, allocations: 2.086 MB / 1.381 GB, free: 15.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.16e-05/1.208, allocations: 7.938 kB / 1.381 GB, free: 15.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.006192/1.215, allocations: 2.691 MB / 1.384 GB, free: 12.85 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.215, allocations: 11.94 kB / 1.384 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.215, allocations: 8 kB / 1.384 GB, free: 12.83 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/1.215, allocations: 129 kB / 1.384 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.217, allocations: 323.5 kB / 1.384 GB, free: 12.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/1.221, allocations: 2.838 MB / 1.387 GB, free: 9.336 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.224, allocations: 187.2 kB / 1.387 GB, free: 9.152 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003106/1.224, allocations: 84.06 kB / 1.387 GB, free: 9.07 MB / 1.076 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.0005213/1.225, allocations: 259.8 kB / 1.388 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000804/1.226, allocations: 254.3 kB / 1.388 GB, free: 8.559 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004472/1.23, allocations: 1.588 MB / 1.389 GB, free: 6.957 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/1.23, allocations: 11.98 kB / 1.389 GB, free: 6.945 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.23, allocations: 8 kB / 1.389 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/1.23, allocations: 3.984 kB / 1.389 GB, free: 6.934 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007655/1.238, allocations: 3.161 MB / 1.392 GB, free: 3.684 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.238, allocations: 4 kB / 1.392 GB, free: 3.68 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009567/1.239, allocations: 168 kB / 1.393 GB, free: 3.516 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002619/1.239, allocations: 68.81 kB / 1.393 GB, free: 3.445 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.12e-05/1.239, allocations: 31.97 kB / 1.393 GB, free: 3.414 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004852/1.24, allocations: 0.603 MB / 1.393 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.24, allocations: 0 / 1.393 GB, free: 2.785 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/1.244, allocations: 1.549 MB / 1.395 GB, free: 1.184 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/1.245, allocations: 459 kB / 1.395 GB, free: 0.7148 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005698/1.246, allocations: 24.05 kB / 1.395 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.247, allocations: 83.8 kB / 1.395 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/1.247, allocations: 52.48 kB / 1.395 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.247, allocations: 51.97 kB / 1.395 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003478/1.251, allocations: 1.805 MB / 1.397 GB, free: 14.7 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.91e-07/1.251, allocations: 0 / 1.397 GB, free: 14.7 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004566/1.256, allocations: 1.255 MB / 1.398 GB, free: 13.44 MB / 1.092 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.006446/1.262, allocations: 2.76 MB / 1.401 GB, free: 10.64 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008141/1.27, allocations: 3.475 MB / 1.405 GB, free: 7.156 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.27, allocations: 0 / 1.405 GB, free: 7.156 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001963/1.272, allocations: 0.5862 MB / 1.405 GB, free: 6.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00671/1.279, allocations: 1.231 MB / 1.406 GB, free: 5.387 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04465/1.324, allocations: 19.8 MB / 1.426 GB, free: 1.141 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00205/1.326, allocations: 1.732 MB / 1.427 GB, free: 15.37 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.003492/1.329, allocations: 0.7168 MB / 1.428 GB, free: 14.65 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001954/1.331, allocations: 1.026 MB / 1.429 GB, free: 13.62 MB / 1.123 GB Notification: Performance of SimCode: time 1.032e-06/1.331, allocations: 0 / 1.429 GB, free: 13.62 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.463, allocations: 72.92 MB / 1.5 GB, free: 5.477 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/19.04, allocations: 11.83 kB / 1.5 GB, free: 5.465 MB / 1.186 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 50 --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