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 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.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.005005/0.005005, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001368/0.001368, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.405/2.405, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 68.75 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2549, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerComparison): time 0.004627/0.2596, allocations: 3.771 MB / 1.246 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006976/0.2666, allocations: 4.893 MB / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003754/0.267, allocations: 15.94 kB / 1.25 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002913/0.2699, allocations: 1.429 MB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.2711, allocations: 0.7976 MB / 1.253 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001374/0.2725, allocations: 0.8344 MB / 1.253 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01196/0.2845, allocations: 9.412 MB / 1.263 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.2847, allocations: 93.73 kB / 1.263 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.2853, allocations: 0.5567 MB / 1.263 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006405/0.286, allocations: 0.5993 MB / 1.264 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.2861, allocations: 68 kB / 1.264 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.2873, allocations: 0.8306 MB / 1.265 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006092/0.2879, allocations: 0.7987 MB / 1.265 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007438/0.2886, allocations: 0.8664 MB / 1.266 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.291, allocations: 2.63 MB / 1.269 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.291, allocations: 0 / 1.269 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.291, allocations: 0 / 1.269 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.291, allocations: 4 kB / 1.269 GB, free: 13.22 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.00348/0.2945, allocations: 2.316 MB / 1.271 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2946, allocations: 19.97 kB / 1.271 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2946, allocations: 50.55 kB / 1.271 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.2969, allocations: 494.3 kB / 1.272 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008024/0.305, allocations: 5.67 MB / 1.277 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.305, allocations: 20 kB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.3051, allocations: 32 kB / 1.277 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.3063, allocations: 0.6534 MB / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3063, allocations: 0 / 1.278 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.3063, allocations: 12 kB / 1.278 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3064, allocations: 4 kB / 1.278 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.3078, allocations: 0.5269 MB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.311, allocations: 2.331 MB / 1.281 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.3125, allocations: 0.6975 MB / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007128/0.3133, allocations: 288.6 kB / 1.282 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3133, allocations: 4 kB / 1.282 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3133, allocations: 34.56 kB / 1.282 GB, free: 15.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 4.979e-06/0.3133, allocations: 0 / 1.282 GB, free: 15.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.002478/0.3158, allocations: 1.041 MB / 1.283 GB, free: 14.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3159, allocations: 59.41 kB / 1.283 GB, free: 14.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003466/0.3193, allocations: 2.983 MB / 1.286 GB, free: 11.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.3194, allocations: 41.7 kB / 1.286 GB, free: 11.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.32, allocations: 0.6845 MB / 1.286 GB, free: 10.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.395e-05/0.3201, allocations: 87.31 kB / 1.286 GB, free: 10.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004446/0.3206, allocations: 354.4 kB / 1.287 GB, free: 10.54 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3207, allocations: 305.1 kB / 1.287 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.3223, allocations: 1.099 MB / 1.288 GB, free: 9.137 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.3241, allocations: 1.452 MB / 1.29 GB, free: 7.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003192/0.3273, allocations: 2.313 MB / 1.292 GB, free: 5.168 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3273, allocations: 4 kB / 1.292 GB, free: 5.164 MB / 1.014 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.003888/0.3312, allocations: 2.746 MB / 1.294 GB, free: 2.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3312, allocations: 12.03 kB / 1.294 GB, free: 2.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3313, allocations: 8 kB / 1.294 GB, free: 2.391 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3313, allocations: 12.11 kB / 1.295 GB, free: 2.379 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/0.3322, allocations: 267.5 kB / 1.295 GB, free: 2.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-05/0.3323, allocations: 15.94 kB / 1.295 GB, free: 2.102 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3335, allocations: 210.8 kB / 1.295 GB, free: 1.895 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.3336, allocations: 79.97 kB / 1.295 GB, free: 1.816 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001893/0.3355, allocations: 1.39 MB / 1.296 GB, free: 432 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0017/0.3372, allocations: 1.292 MB / 1.298 GB, free: 15.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002796/0.34, allocations: 2.02 MB / 1.3 GB, free: 12.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.34, allocations: 3.938 kB / 1.3 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.003568/0.3436, allocations: 2.436 MB / 1.302 GB, free: 10.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3436, allocations: 8 kB / 1.302 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3436, allocations: 8 kB / 1.302 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3436, allocations: 12 kB / 1.302 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/0.3446, allocations: 251.7 kB / 1.302 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.3446, allocations: 19.92 kB / 1.302 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3458, allocations: 187.3 kB / 1.302 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.301e-05/0.3459, allocations: 63.98 kB / 1.303 GB, free: 9.918 MB / 1.029 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.0001946/0.3461, allocations: 231.9 kB / 1.303 GB, free: 9.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.3463, allocations: 182.7 kB / 1.303 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.3482, allocations: 0.8102 MB / 1.304 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3482, allocations: 4 kB / 1.304 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3482, allocations: 0 / 1.304 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3482, allocations: 0 / 1.304 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.3494, allocations: 1.087 MB / 1.305 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3494, allocations: 0 / 1.305 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.3499, allocations: 91.86 kB / 1.305 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3499, allocations: 0 / 1.305 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.3499, allocations: 8 kB / 1.305 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3499, allocations: 4 kB / 1.305 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3499, allocations: 0 / 1.305 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.3516, allocations: 0.8727 MB / 1.306 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/0.3521, allocations: 391.5 kB / 1.306 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.3523, allocations: 0 / 1.306 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.3532, allocations: 91.89 kB / 1.306 GB, free: 6.059 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3532, allocations: 15.98 kB / 1.306 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.034e-05/0.3533, allocations: 19.98 kB / 1.306 GB, free: 6.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002473/0.3558, allocations: 2.071 MB / 1.308 GB, free: 3.938 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3558, allocations: 0 / 1.308 GB, free: 3.938 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001415/0.3572, allocations: 0.6792 MB / 1.309 GB, free: 3.258 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 (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.002573/0.3598, allocations: 1.689 MB / 1.311 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004086/0.3639, allocations: 2.768 MB / 1.313 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3639, allocations: 0 / 1.313 GB, free: 14.77 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007206/0.3646, allocations: 291.8 kB / 1.314 GB, free: 14.49 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.3671, allocations: 0.9034 MB / 1.314 GB, free: 13.6 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02432/0.3915, allocations: 19.46 MB / 1.333 GB, free: 9.727 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.3925, allocations: 1.413 MB / 1.335 GB, free: 8.285 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001381/0.3939, allocations: 0.522 MB / 1.335 GB, free: 7.758 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008679/0.3948, allocations: 0.6633 MB / 1.336 GB, free: 7.094 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.3948, allocations: 0 / 1.336 GB, free: 7.094 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.059/9.453, allocations: 54.81 MB / 1.39 GB, free: 1.086 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/25.5, allocations: 10.33 kB / 1.39 GB, free: 1.082 MB / 1.107 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=400 --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