Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.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.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods",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.005025/0.005025, allocations: 96.31 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.001411/0.001411, allocations: 198.6 kB / 16.68 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.657/2.657, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 67.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2931, allocations: 162.3 MB / 1.242 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006955/0.3001, allocations: 4.901 MB / 1.247 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5259/0.826, allocations: 5.624 MB / 1.252 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007568/0.8268, allocations: 26.06 kB / 1.252 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.8295, allocations: 1.29 MB / 1.253 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.8316, allocations: 1.326 MB / 1.255 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.8342, allocations: 1.533 MB / 1.256 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01492/0.8491, allocations: 12.47 MB / 1.268 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003015/0.8494, allocations: 176 kB / 1.269 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.8507, allocations: 0.8091 MB / 1.269 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008072/0.8515, allocations: 0.7815 MB / 1.27 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.8517, allocations: 91.56 kB / 1.27 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.8531, allocations: 0.8879 MB / 1.271 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007218/0.8538, allocations: 0.9245 MB / 1.272 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007204/0.8546, allocations: 1.052 MB / 1.273 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.8574, allocations: 3.109 MB / 1.276 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.8574, allocations: 1.375 kB / 1.276 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.81e-07/0.8574, allocations: 0 / 1.276 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.163e-05/0.8575, allocations: 0 / 1.276 GB, free: 1.895 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.003367/0.8608, allocations: 2.775 MB / 1.279 GB, free: 60 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.316e-05/0.8609, allocations: 9.484 kB / 1.279 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.8609, allocations: 67.94 kB / 1.279 GB, free: 0 / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002824/0.8638, allocations: 0.612 MB / 1.279 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008593/0.8724, allocations: 5.807 MB / 1.285 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.8724, allocations: 39.72 kB / 1.285 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.8725, allocations: 48.78 kB / 1.285 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.8741, allocations: 0.684 MB / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.8741, allocations: 0 / 1.286 GB, free: 13.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.8742, allocations: 16.05 kB / 1.286 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.8742, allocations: 6.688 kB / 1.286 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.8762, allocations: 0.6502 MB / 1.286 GB, free: 13.35 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.8808, allocations: 2.827 MB / 1.289 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.8829, allocations: 0.7764 MB / 1.29 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009257/0.8838, allocations: 319.5 kB / 1.29 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.8838, allocations: 6.25 kB / 1.29 GB, free: 11.75 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.8839, allocations: 36.94 kB / 1.29 GB, free: 11.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=35): time 1.423e-06/0.8839, allocations: 0 / 1.29 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=35): time 0.003326/0.8872, allocations: 1.188 MB / 1.292 GB, free: 11.31 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.8873, allocations: 56.22 kB / 1.292 GB, free: 11.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/0.8918, allocations: 3.45 MB / 1.295 GB, free: 9.973 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.557e-05/0.8919, allocations: 40.08 kB / 1.295 GB, free: 9.934 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007542/0.8926, allocations: 0.83 MB / 1.296 GB, free: 9.312 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.8928, allocations: 150.1 kB / 1.296 GB, free: 9.207 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007798/0.8936, allocations: 0.578 MB / 1.297 GB, free: 8.98 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.8937, allocations: 301.1 kB / 1.297 GB, free: 8.684 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.8958, allocations: 1.257 MB / 1.298 GB, free: 8.281 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.8983, allocations: 1.723 MB / 1.3 GB, free: 7.402 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004003/0.9023, allocations: 2.624 MB / 1.302 GB, free: 6.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.9024, allocations: 2.406 kB / 1.302 GB, free: 6.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005568/0.9079, allocations: 3.322 MB / 1.306 GB, free: 5.094 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.908, allocations: 12.41 kB / 1.306 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.908, allocations: 8.781 kB / 1.306 GB, free: 5.09 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.822e-05/0.908, allocations: 21.27 kB / 1.306 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.9095, allocations: 410.8 kB / 1.306 GB, free: 5.047 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.448e-05/0.9095, allocations: 23.05 kB / 1.306 GB, free: 5.043 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.9115, allocations: 302.4 kB / 1.306 GB, free: 4.883 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.9117, allocations: 103.7 kB / 1.306 GB, free: 4.863 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002891/0.9146, allocations: 1.733 MB / 1.308 GB, free: 4.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002361/0.917, allocations: 1.656 MB / 1.31 GB, free: 3.344 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003722/0.9207, allocations: 2.459 MB / 1.312 GB, free: 2.238 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.55e-06/0.9207, allocations: 2.562 kB / 1.312 GB, free: 2.238 MB / 1.014 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.004939/0.9257, allocations: 3.166 MB / 1.315 GB, free: 1.117 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.9257, allocations: 13.91 kB / 1.315 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.9257, allocations: 8.906 kB / 1.315 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9257, allocations: 16.09 kB / 1.315 GB, free: 1.113 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.927, allocations: 406 kB / 1.316 GB, free: 1.023 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.037e-05/0.9271, allocations: 20.88 kB / 1.316 GB, free: 1.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.9289, allocations: 253.5 kB / 1.316 GB, free: 0.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.9291, allocations: 94.09 kB / 1.316 GB, free: 0.8477 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (209): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004026/0.9295, allocations: 256.1 kB / 1.316 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.9298, allocations: 237.7 kB / 1.316 GB, free: 472 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.9322, allocations: 0.924 MB / 1.317 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.9323, allocations: 4.312 kB / 1.317 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.9323, allocations: 1.25 kB / 1.317 GB, free: 16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.9323, allocations: 5.109 kB / 1.317 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.9338, allocations: 1.283 MB / 1.319 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9338, allocations: 0 / 1.319 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006736/0.9345, allocations: 133.9 kB / 1.319 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.9345, allocations: 5.094 kB / 1.319 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.9346, allocations: 14.33 kB / 1.319 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/0.9346, allocations: 1.062 kB / 1.319 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9346, allocations: 3.938 kB / 1.319 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.9367, allocations: 1.025 MB / 1.32 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005628/0.9373, allocations: 434.3 kB / 1.32 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.9375, allocations: 9.156 kB / 1.32 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000953/0.9385, allocations: 88.45 kB / 1.32 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.9386, allocations: 25.16 kB / 1.32 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.9386, allocations: 24.23 kB / 1.32 GB, free: 14.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002867/0.9415, allocations: 2.3 MB / 1.323 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9415, allocations: 1.062 kB / 1.323 GB, free: 12.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002103/0.9436, allocations: 0.9177 MB / 1.323 GB, free: 12.74 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003155/0.9468, allocations: 1.861 MB / 1.325 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00577/0.9526, allocations: 3.541 MB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9526, allocations: 1.75 kB / 1.329 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009672/0.9535, allocations: 348.6 kB / 1.329 GB, free: 9.867 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.9565, allocations: 0.9333 MB / 1.33 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/0.9917, allocations: 22.07 MB / 1.351 GB, free: 5.066 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.993, allocations: 1.642 MB / 1.353 GB, free: 3.391 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002012/0.995, allocations: 0.6836 MB / 1.354 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.9962, allocations: 0.8585 MB / 1.355 GB, free: 1.844 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.9962, allocations: 0 / 1.355 GB, free: 1.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.055/5.051, allocations: 63.96 MB / 1.417 GB, free: 2.625 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.33/24.38, allocations: 15.94 kB / 1.417 GB, free: 2.609 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_MotorEfficiencyMethods.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches