Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.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: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison",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.007861/0.007861, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001721/0.001721, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.765/2.765, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002166, allocations: 68.11 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8244, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.005438/0.8298, allocations: 3.769 MB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00843/0.8383, allocations: 4.873 MB / 1.216 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007609/0.8391, allocations: 19.94 kB / 1.216 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004052/0.8432, allocations: 1.403 MB / 1.217 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.8451, allocations: 0.7937 MB / 1.218 GB, free: 2.656 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.8471, allocations: 0.8423 MB / 1.219 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01921/0.8663, allocations: 12.81 MB / 1.231 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.8666, allocations: 89.77 kB / 1.231 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.8677, allocations: 0.5801 MB / 1.232 GB, free: 4.316 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009469/0.8687, allocations: 0.5876 MB / 1.232 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002218/0.8689, allocations: 72 kB / 1.233 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.8705, allocations: 0.8306 MB / 1.233 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007845/0.8713, allocations: 0.7909 MB / 1.234 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.8726, allocations: 0.8663 MB / 1.235 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003667/0.8763, allocations: 2.609 MB / 1.237 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.8763, allocations: 4 kB / 1.237 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8763, allocations: 0 / 1.237 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.287e-05/0.8764, allocations: 0 / 1.237 GB, free: 14.54 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.005396/0.8818, allocations: 2.25 MB / 1.24 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.8819, allocations: 11.97 kB / 1.24 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.621e-05/0.882, allocations: 58.55 kB / 1.24 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00273/0.8847, allocations: 485.2 kB / 1.24 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.8954, allocations: 5.637 MB / 1.246 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.169e-05/0.8955, allocations: 20 kB / 1.246 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.8956, allocations: 32 kB / 1.246 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.897, allocations: 0.6495 MB / 1.246 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.897, allocations: 3.938 kB / 1.246 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.897, allocations: 7.984 kB / 1.246 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.8971, allocations: 4 kB / 1.246 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.8985, allocations: 0.5347 MB / 1.247 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.9031, allocations: 2.308 MB / 1.249 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.9047, allocations: 0.7053 MB / 1.25 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.9054, allocations: 280.7 kB / 1.25 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.9054, allocations: 11.94 kB / 1.25 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.9055, allocations: 30.56 kB / 1.25 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.9055, allocations: 4 kB / 1.25 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.002905/0.9084, allocations: 1.026 MB / 1.251 GB, free: 256 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.9084, allocations: 51.41 kB / 1.251 GB, free: 192 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004673/0.9131, allocations: 2.995 MB / 1.254 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.69e-05/0.9132, allocations: 33.64 kB / 1.254 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007336/0.914, allocations: 0.6841 MB / 1.255 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.624e-05/0.9141, allocations: 79 kB / 1.255 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005665/0.9147, allocations: 350.2 kB / 1.255 GB, free: 12 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9148, allocations: 305.1 kB / 1.256 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.9166, allocations: 1.095 MB / 1.257 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.9187, allocations: 1.44 MB / 1.258 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.9222, allocations: 2.325 MB / 1.26 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.9222, allocations: 4.109 kB / 1.26 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004528/0.9267, allocations: 2.749 MB / 1.263 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.9268, allocations: 10.19 kB / 1.263 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.9268, allocations: 11.98 kB / 1.263 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.062e-05/0.9268, allocations: 12 kB / 1.263 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.9279, allocations: 251.7 kB / 1.263 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/0.9279, allocations: 19.92 kB / 1.263 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.9296, allocations: 214.4 kB / 1.264 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/0.9297, allocations: 75.98 kB / 1.264 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002166/0.9319, allocations: 1.393 MB / 1.265 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001838/0.9338, allocations: 1.292 MB / 1.266 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003063/0.9368, allocations: 2.02 MB / 1.268 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.875e-06/0.9369, allocations: 4 kB / 1.268 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00438/0.9413, allocations: 2.424 MB / 1.271 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.9413, allocations: 11.94 kB / 1.271 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.9413, allocations: 12 kB / 1.271 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.9413, allocations: 12 kB / 1.271 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.9424, allocations: 251.6 kB / 1.271 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.9424, allocations: 15.94 kB / 1.271 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.9441, allocations: 187.1 kB / 1.271 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.9443, allocations: 67.98 kB / 1.271 GB, free: 11.39 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (120): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0002927/0.9446, allocations: 231.9 kB / 1.271 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.945, allocations: 173.6 kB / 1.271 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.9474, allocations: 0.8083 MB / 1.272 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.9475, allocations: 4 kB / 1.272 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9475, allocations: 0 / 1.272 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9475, allocations: 3.984 kB / 1.272 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.9498, allocations: 1.075 MB / 1.273 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.9498, allocations: 0 / 1.273 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.9504, allocations: 91.92 kB / 1.273 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.9504, allocations: 0 / 1.273 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.9504, allocations: 11.92 kB / 1.273 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.9504, allocations: 7.938 kB / 1.273 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9504, allocations: 0 / 1.273 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.9524, allocations: 0.8648 MB / 1.274 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/0.9532, allocations: 374.5 kB / 1.275 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.9536, allocations: 8 kB / 1.275 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.9547, allocations: 87.89 kB / 1.275 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.9548, allocations: 15.92 kB / 1.275 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.9549, allocations: 23.98 kB / 1.275 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003343/0.9582, allocations: 2.063 MB / 1.277 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9582, allocations: 4 kB / 1.277 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002118/0.9604, allocations: 0.6795 MB / 1.277 GB, free: 4.762 MB / 0.9981 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 (23): * Single equations (assignments): 23 * 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.003025/0.9634, allocations: 1.672 MB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004936/0.9683, allocations: 2.764 MB / 1.282 GB, free: 304 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.9684, allocations: 4.188 kB / 1.282 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007123/0.9691, allocations: 287.8 kB / 1.282 GB, free: 12 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/0.9727, allocations: 0.9131 MB / 1.283 GB, free: 15.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0306/1.003, allocations: 19.4 MB / 1.302 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/1.005, allocations: 1.413 MB / 1.303 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002143/1.007, allocations: 0.522 MB / 1.304 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.008, allocations: 0.6633 MB / 1.304 GB, free: 8.668 MB / 1.029 GB Notification: Performance of SimCode: time 8.62e-07/1.008, allocations: 0 / 1.304 GB, free: 8.668 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09664/1.105, allocations: 54.81 MB / 1.358 GB, free: 2.676 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.23, allocations: 23.25 kB / 1.358 GB, free: 2.66 MB / 1.076 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerComparison.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches