Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 218 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.332/1.332, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.935/2.935, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 70.5 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 180.2 MB / 1.353 GB, free: 8.473 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001681/0.3049, allocations: 0.5394 MB / 1.353 GB, free: 7.938 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.306, allocations: 0.6467 MB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.306, allocations: 4 kB / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.306, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.306, allocations: 0 / 1.354 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.3067, allocations: 163.5 kB / 1.354 GB, free: 7.125 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.428e-05/0.3067, allocations: 11.98 kB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.3068, allocations: 0 / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.379e-05/0.3068, allocations: 7.938 kB / 1.354 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.819e-05/0.3068, allocations: 3.984 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.3068, allocations: 0 / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.3072, allocations: 215.7 kB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.3072, allocations: 4 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.3072, allocations: 0 / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3075, allocations: 127.9 kB / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3075, allocations: 0 / 1.355 GB, free: 6.762 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3075, allocations: 4 kB / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.3075, allocations: 0 / 1.355 GB, free: 6.758 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000343/0.3078, allocations: 274.1 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3079, allocations: 12.03 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.3079, allocations: 38.69 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.3079, allocations: 4.891 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.308, allocations: 110.5 kB / 1.355 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.308, allocations: 4.375 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.308, allocations: 384 / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.3081, allocations: 34.25 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3081, allocations: 3.938 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.77e-06/0.3081, allocations: 7.875 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3081, allocations: 0 / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.427e-05/0.3082, allocations: 11.98 kB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.3084, allocations: 132.7 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/0.3085, allocations: 34.55 kB / 1.355 GB, free: 5.98 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.3085, allocations: 8.859 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006244/0.3091, allocations: 88.02 kB / 1.355 GB, free: 5.883 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3091, allocations: 30.56 kB / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3091, allocations: 0 / 1.355 GB, free: 5.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001422/0.3093, allocations: 53.56 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3093, allocations: 51.41 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.3094, allocations: 93.86 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3094, allocations: 25.7 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.076e-05/0.3094, allocations: 80.14 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.3094, allocations: 15.94 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.3095, allocations: 9.719 kB / 1.356 GB, free: 5.477 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3096, allocations: 314.8 kB / 1.356 GB, free: 5.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.3096, allocations: 4 kB / 1.356 GB, free: 5.156 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.3096, allocations: 17.7 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.3097, allocations: 25.72 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3097, allocations: 3.938 kB / 1.356 GB, free: 5.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.847e-05/0.3098, allocations: 53.64 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3098, allocations: 4 kB / 1.356 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3098, allocations: 3.938 kB / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3098, allocations: 0 / 1.356 GB, free: 5.031 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.839e-05/0.3098, allocations: 8 kB / 1.356 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3098, allocations: 7.938 kB / 1.356 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.3099, allocations: 12.02 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3099, allocations: 4 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 8.365e-05/0.3099, allocations: 109.8 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-06/0.31, allocations: 336 / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.3101, allocations: 61.12 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3101, allocations: 3.938 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3101, allocations: 0 / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3101, allocations: 0 / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3102, allocations: 124.8 kB / 1.356 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3102, allocations: 4 kB / 1.356 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.3102, allocations: 11.94 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3102, allocations: 0 / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.3102, allocations: 7.875 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3102, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3103, allocations: 0 / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.3104, allocations: 77.11 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.3104, allocations: 0 / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.3104, allocations: 8 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-06/0.3104, allocations: 0 / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.3104, allocations: 4.031 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3104, allocations: 3.984 kB / 1.356 GB, free: 4.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.3104, allocations: 75.28 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3104, allocations: 0 / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002539/0.3107, allocations: 51.81 kB / 1.357 GB, free: 4.387 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * 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 (3): * Single equations (assignments): 3 * 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.0005942/0.3113, allocations: 0.6904 MB / 1.357 GB, free: 3.664 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.855e-05/0.3114, allocations: 19.98 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3114, allocations: 0 / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.3114, allocations: 7.938 kB / 1.357 GB, free: 3.637 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.3115, allocations: 6.078 kB / 1.357 GB, free: 3.633 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.3125, allocations: 1.12 MB / 1.358 GB, free: 2.426 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.3127, allocations: 0.6768 MB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.689e-05/0.3127, allocations: 4 kB / 1.359 GB, free: 1.719 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.3128, allocations: 11.44 kB / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.3128, allocations: 0 / 1.359 GB, free: 1.711 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.342, allocations: 2.272 MB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.599/9.941, allocations: 13.31 kB / 1.361 GB, free: 15.56 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.87558474810794]