Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 106.6 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 1.056 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9974/0.9994, allocations: 160.7 MB / 1.213 GB, free: 3.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.002441/1.002, allocations: 0.8258 MB / 1.214 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001747/1.004, allocations: 1.015 MB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/1.004, allocations: 1.156 kB / 1.215 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/1.004, allocations: 8.625 kB / 1.215 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/1.004, allocations: 27.03 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/1.004, allocations: 85.61 kB / 1.215 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000202/1.005, allocations: 123.8 kB / 1.215 GB, free: 2.242 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/1.005, allocations: 50.64 kB / 1.215 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/1.005, allocations: 48.92 kB / 1.215 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/1.005, allocations: 58.94 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/1.005, allocations: 10.41 kB / 1.215 GB, free: 2.129 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/1.005, allocations: 96.25 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/1.005, allocations: 28.98 kB / 1.215 GB, free: 2.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/1.005, allocations: 65.7 kB / 1.215 GB, free: 2.004 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003243/1.006, allocations: 195.1 kB / 1.216 GB, free: 1.863 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.006, allocations: 5.094 kB / 1.216 GB, free: 1.859 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/1.006, allocations: 0 / 1.216 GB, free: 1.859 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.006, allocations: 3.938 kB / 1.216 GB, free: 1.855 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009563/1.007, allocations: 486.6 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.007, allocations: 10.12 kB / 1.216 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.349e-05/1.007, allocations: 46.92 kB / 1.216 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/1.007, allocations: 15.16 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/1.007, allocations: 204.2 kB / 1.216 GB, free: 1.109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.007, allocations: 7.594 kB / 1.216 GB, free: 1.105 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/1.007, allocations: 8.469 kB / 1.216 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005619/1.008, allocations: 178 kB / 1.216 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.008, allocations: 9.031 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/1.008, allocations: 1.219 kB / 1.216 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-05/1.008, allocations: 13.16 kB / 1.216 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/1.008, allocations: 202.3 kB / 1.217 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/1.01, allocations: 452.2 kB / 1.217 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004088/1.01, allocations: 136 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/1.01, allocations: 122 kB / 1.217 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/1.01, allocations: 5.125 kB / 1.217 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.01, allocations: 35.75 kB / 1.217 GB, free: 336 kB / 0.92 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/1.01, allocations: 0 / 1.217 GB, free: 336 kB / 0.92 GB Notification: Performance of matching and sorting (n=15): time 0.001277/1.012, allocations: 395.8 kB / 1.218 GB, free: 148 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/1.012, allocations: 52.47 kB / 1.218 GB, free: 84 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/1.012, allocations: 157.4 kB / 1.218 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.012, allocations: 29.7 kB / 1.218 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/1.012, allocations: 114.9 kB / 1.218 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.729e-05/1.012, allocations: 52.17 kB / 1.218 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/1.012, allocations: 21.41 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.012, allocations: 330.1 kB / 1.218 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/1.013, allocations: 112.4 kB / 1.219 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003456/1.013, allocations: 115.1 kB / 1.219 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/1.014, allocations: 242.4 kB / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.014, allocations: 0 / 1.219 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000765/1.014, allocations: 276.3 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.014, allocations: 7.281 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.014, allocations: 1.062 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.014, allocations: 0 / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/1.015, allocations: 38.92 kB / 1.219 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.015, allocations: 3.938 kB / 1.219 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/1.015, allocations: 36.95 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/1.015, allocations: 3.188 kB / 1.219 GB, free: 15.02 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 5 * Array equations: 2 * 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 0.0001167/1.015, allocations: 126 kB / 1.219 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/1.015, allocations: 13.09 kB / 1.219 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.206e-05/1.015, allocations: 20.05 kB / 1.219 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/1.015, allocations: 14.75 kB / 1.219 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/1.015, allocations: 3.938 kB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.015, allocations: 1.125 kB / 1.219 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/1.015, allocations: 225.1 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.015, allocations: 1.094 kB / 1.22 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/1.016, allocations: 34.2 kB / 1.22 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/1.016, allocations: 0 / 1.22 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.016, allocations: 5.109 kB / 1.22 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.016, allocations: 5.094 kB / 1.22 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.016, allocations: 3.938 kB / 1.22 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/1.016, allocations: 387.7 kB / 1.22 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/1.017, allocations: 88.14 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/1.017, allocations: 5 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.017, allocations: 27.86 kB / 1.22 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/1.017, allocations: 16.45 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/1.017, allocations: 6.328 kB / 1.22 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.047e-05/1.017, allocations: 116.2 kB / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.017, allocations: 0 / 1.22 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003171/1.017, allocations: 44.78 kB / 1.22 GB, free: 14.11 MB / 0.9356 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.001344/1.019, allocations: 0.9325 MB / 1.221 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008151/1.019, allocations: 245 kB / 1.222 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.019, allocations: 0 / 1.222 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/1.02, allocations: 125.9 kB / 1.222 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/1.02, allocations: 25.3 kB / 1.222 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/1.024, allocations: 2.18 MB / 1.224 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/1.025, allocations: 0.7142 MB / 1.225 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001315/1.025, allocations: 22.19 kB / 1.225 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/1.025, allocations: 39.8 kB / 1.225 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of SimCode: time 1.322e-06/1.025, allocations: 0 / 1.225 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02837/1.053, allocations: 3.578 MB / 1.228 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/9.399, allocations: 12.64 kB / 1.228 GB, free: 8.414 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.333383892662823]