Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009248/0.0009248, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001018/0.001018, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8687/0.8687, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.676/1.676, allocations: 377.9 MB / 0.6221 GB, free: 8.633 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve,fileNamePrefix="Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.981 GB, free: 2.566 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.909e-05, allocations: 6.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve): time 0.001105/0.001125, allocations: 0.5525 MB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000883/0.002008, allocations: 0.5878 MB / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.567e-05/0.002023, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.002041, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-06/0.002048, allocations: 0 / 0.9821 GB, free: 1.418 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.0027, allocations: 175.3 kB / 0.9822 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 3.924e-05/0.002739, allocations: 4 kB / 0.9823 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.002775, allocations: 0 / 0.9823 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.0028, allocations: 4 kB / 0.9823 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.69e-05/0.002816, allocations: 0 / 0.9823 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.002829, allocations: 0 / 0.9823 GB, free: 1.238 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002835/0.003113, allocations: 207.5 kB / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.003123, allocations: 4 kB / 0.9825 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.003138, allocations: 8 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.003338, allocations: 155.6 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00334, allocations: 0 / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003341, allocations: 0 / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003345, allocations: 0 / 0.9826 GB, free: 0.8711 MB / 0.9323 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.0002512/0.003596, allocations: 282 kB / 0.9829 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.003632, allocations: 11.97 kB / 0.9829 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.003658, allocations: 30.75 kB / 0.9829 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.137e-05/0.00368, allocations: 4.938 kB / 0.9829 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.934e-05/0.003729, allocations: 101.8 kB / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.003739, allocations: 384 / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.003757, allocations: 8.375 kB / 0.983 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.003842, allocations: 42.19 kB / 0.9831 GB, free: 336 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.003851, allocations: 4.188 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.003858, allocations: 384 / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.003865, allocations: 4.125 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.54e-05/0.003901, allocations: 7.984 kB / 0.9831 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.004121, allocations: 124.7 kB / 0.9832 GB, free: 152 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.968e-05/0.004191, allocations: 38.55 kB / 0.9832 GB, free: 104 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.813e-05/0.004209, allocations: 8.859 kB / 0.9833 GB, free: 92 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004408/0.00465, allocations: 100 kB / 0.9833 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.004672, allocations: 30.56 kB / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/0.004675, allocations: 0 / 0.9834 GB, free: 15.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.000167/0.004842, allocations: 45.78 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.00487, allocations: 59.34 kB / 0.9835 GB, free: 15.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.957e-05/0.0049, allocations: 89.86 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.00491, allocations: 25.7 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.004931, allocations: 84.14 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.004963, allocations: 19.83 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.004988, allocations: 13.72 kB / 0.9837 GB, free: 15.58 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.056e-05/0.005079, allocations: 314.8 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.005094, allocations: 7.938 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.005115, allocations: 21.73 kB / 0.984 GB, free: 15.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.005158, allocations: 29.72 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.005161, allocations: 0 / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.48e-05/0.005215, allocations: 53.62 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.005228, allocations: 4 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.005233, allocations: 0 / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.005242, allocations: 3.938 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/0.005266, allocations: 8 kB / 0.9841 GB, free: 15.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005271, allocations: 3.938 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.005282, allocations: 3.984 kB / 0.9841 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.005287, allocations: 4 kB / 0.9841 GB, free: 15.11 MB / 0.948 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 4.819e-05/0.005335, allocations: 109.9 kB / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-06/0.005339, allocations: 0 / 0.9842 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.005411, allocations: 57.16 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.005413, allocations: 0 / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.005418, allocations: 3.938 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.00542, allocations: 0 / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.005693, allocations: 120.8 kB / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005694, allocations: 0 / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.502e-05/0.005709, allocations: 4 kB / 0.9844 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.005711, allocations: 4 kB / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.005717, allocations: 0 / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.005718, allocations: 7.938 kB / 0.9844 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.00572, allocations: 3.938 kB / 0.9844 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.452e-05/0.005804, allocations: 85 kB / 0.9845 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-06/0.005808, allocations: 0 / 0.9845 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-06/0.005816, allocations: 0 / 0.9845 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-06/0.005821, allocations: 4 kB / 0.9845 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.005833, allocations: 7.969 kB / 0.9845 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.005835, allocations: 0 / 0.9845 GB, free: 14.63 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.005852, allocations: 75.28 kB / 0.9846 GB, free: 14.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.005852, allocations: 0 / 0.9846 GB, free: 14.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001991/0.006051, allocations: 55.8 kB / 0.9846 GB, free: 14.5 MB / 0.948 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.0003896/0.006441, allocations: 0.6908 MB / 0.9853 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.63e-05/0.006507, allocations: 23.86 kB / 0.9853 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.006509, allocations: 0 / 0.9853 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.164e-06/0.006516, allocations: 4 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.959e-05/0.006615, allocations: 10.34 kB / 0.9854 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006425/0.007258, allocations: 1.112 MB / 0.9864 GB, free: 12.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.406e-05/0.007292, allocations: 59.47 kB / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.509e-05/0.007307, allocations: 4 kB / 0.9865 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.00733, allocations: 12.5 kB / 0.9865 GB, free: 12.45 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.00733, allocations: 3.938 kB / 0.9865 GB, free: 12.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.02388, allocations: 2.818 MB / 0.9893 GB, free: 9.754 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.316/6.34, allocations: 3.609 kB / 0.9893 GB, free: 9.754 MB / 0.948 GB " [Timeout remaining time 294] (rm -f Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.fmu > Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.BaseClasses.Validation.EulerCurve_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_BaseClasses_Validation_EulerCurve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.20796078722924]