Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.0007558/0.0007558, allocations: 76.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001868, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.0007318/0.0007318, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001018/0.001749, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 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.9831/0.9831, allocations: 177.1 MB / 189.5 MB, free: 3.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1518/1.135, allocations: 53.66 MB / 243.2 MB, free: 2.398 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.008/2.008, allocations: 378.2 MB / 0.6076 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1959/2.203, allocations: 123.3 MB / 0.728 GB, free: 12.99 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7293 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.876e-05, allocations: 2.312 kB / 0.7293 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001746/0.001764, allocations: 0.8812 MB / 0.7301 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000997/0.002761, allocations: 1.065 MB / 0.7312 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.002804, allocations: 0 / 0.7312 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.958e-05/0.002863, allocations: 15.86 kB / 0.7312 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.002904, allocations: 23.73 kB / 0.7312 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.003155, allocations: 91.69 kB / 0.7313 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.003269, allocations: 119.6 kB / 0.7314 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.003378, allocations: 25.95 kB / 0.7314 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.003482, allocations: 92.59 kB / 0.7315 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.003538, allocations: 47.89 kB / 0.7316 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.003557, allocations: 8 kB / 0.7316 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.003695, allocations: 99.83 kB / 0.7317 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.003735, allocations: 35.88 kB / 0.7317 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.003767, allocations: 27.88 kB / 0.7317 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.003948, allocations: 151.4 kB / 0.7319 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.003959, allocations: 0 / 0.7319 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003959, allocations: 0 / 0.7319 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.003968, allocations: 0 / 0.7319 GB, free: 8.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004244/0.004392, allocations: 375.7 kB / 0.7322 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.004425, allocations: 8.031 kB / 0.7322 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.004456, allocations: 42.72 kB / 0.7323 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.004484, allocations: 12.94 kB / 0.7323 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.004607, allocations: 149.5 kB / 0.7324 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004618, allocations: 8.375 kB / 0.7325 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.004628, allocations: 4.375 kB / 0.7325 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.004825, allocations: 129.6 kB / 0.7326 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.004836, allocations: 3.938 kB / 0.7326 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-06/0.004843, allocations: 4 kB / 0.7326 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.004848, allocations: 0 / 0.7326 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.004894, allocations: 27.98 kB / 0.7326 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.005291, allocations: 347.6 kB / 0.7329 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.00536, allocations: 78.48 kB / 0.733 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.005395, allocations: 28.84 kB / 0.733 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.005441, allocations: 4 kB / 0.7331 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.005461, allocations: 34.56 kB / 0.7331 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.062e-06/0.005462, allocations: 4 kB / 0.7331 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0001882/0.00565, allocations: 133 kB / 0.7332 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.005677, allocations: 55.41 kB / 0.7333 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.005758, allocations: 150.6 kB / 0.7334 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.00577, allocations: 25.7 kB / 0.7334 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.005807, allocations: 112.5 kB / 0.7335 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.005848, allocations: 71.34 kB / 0.7336 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.005888, allocations: 29.69 kB / 0.7336 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.005962, allocations: 326.8 kB / 0.734 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.498e-05/0.005997, allocations: 26.81 kB / 0.734 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.536e-05/0.006022, allocations: 20 kB / 0.734 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.274e-05/0.006095, allocations: 72.16 kB / 0.7341 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006097, allocations: 4 kB / 0.7341 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001041/0.006201, allocations: 101.6 kB / 0.7342 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.006211, allocations: 4 kB / 0.7342 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.006224, allocations: 0 / 0.7342 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.006233, allocations: 0 / 0.7342 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.686e-05/0.006319, allocations: 23.98 kB / 0.7342 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.006322, allocations: 0 / 0.7342 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.006372, allocations: 31.8 kB / 0.7342 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.00639, allocations: 4 kB / 0.7342 GB, free: 6.395 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * 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: 0 * 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 7.978e-05/0.00647, allocations: 124.7 kB / 0.7343 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.006492, allocations: 11.92 kB / 0.7344 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.006648, allocations: 139.7 kB / 0.7345 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006651, allocations: 0 / 0.7345 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006652, allocations: 0 / 0.7345 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.006657, allocations: 3.938 kB / 0.7345 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.00679, allocations: 149.1 kB / 0.7346 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.006795, allocations: 8 kB / 0.7346 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.006858, allocations: 23.98 kB / 0.7347 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.006859, allocations: 0 / 0.7347 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006867, allocations: 4 kB / 0.7347 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006868, allocations: 0 / 0.7347 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006869, allocations: 0 / 0.7347 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.00701, allocations: 266 kB / 0.7349 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.169e-05/0.007021, allocations: 15.84 kB / 0.7349 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.007033, allocations: 0 / 0.7349 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.007094, allocations: 19.98 kB / 0.735 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.007134, allocations: 15.97 kB / 0.735 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.007142, allocations: 4 kB / 0.735 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.584e-05/0.007168, allocations: 33.5 kB / 0.735 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.007168, allocations: 0 / 0.735 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001739/0.007342, allocations: 59.75 kB / 0.7351 GB, free: 5.469 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * 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: 0 * 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 Backend phase and start with SimCode phase: time 0.0002619/0.007604, allocations: 0.6033 MB / 0.7357 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.007765, allocations: 136.2 kB / 0.7358 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.007768, allocations: 4 kB / 0.7358 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.007838, allocations: 108.2 kB / 0.7359 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.008002, allocations: 24.69 kB / 0.7359 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.008897, allocations: 1.14 MB / 0.737 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/0.008942, allocations: 83.33 kB / 0.7371 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.008976, allocations: 4 kB / 0.7371 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.00908, allocations: 99.34 kB / 0.7372 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/0.009081, allocations: 0 / 0.7372 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of FMU documentation: time 0.0247/0.03378, allocations: 5.247 MB / 0.7423 GB, free: 14.06 MB / 0.7292 GB Notification: FMU-only work: backend 0.0001186, simCode 0.0004868, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06825/0.102, allocations: 1.359 MB / 0.7437 GB, free: 12.64 MB / 0.7292 GB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.785/2.887, allocations: 15.59 kB / 0.7437 GB, free: 12.62 MB / 0.7292 GB " [Timeout remaining time 297] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu) > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5] Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,ramp4.duration,ramp4.height,ramp4.offset,ramp4.startTime,ramp4.y,ramp5.duration,ramp5.height,ramp5.offset,ramp5.startTime,ramp5.y,sorAsc.ascending,sorAsc.nin,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.ascending,sorDes.nin,sorDes.u[1],sorDes.u[2],sorDes.u[3],sorDes.u[4],sorDes.u[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],time filterSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff.mat", vars={"sorDes.yIdx[3]", "sorDes.yIdx[2]", "sorDes.yIdx[1]", "sorAsc.yIdx[5]", "sorAsc.yIdx[4]", "sorAsc.yIdx[2]", "sorAsc.yIdx[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.diff.ref.mat", vars={"sorDes.yIdx[3]", "sorDes.yIdx[2]", "sorDes.yIdx[1]", "sorAsc.yIdx[5]", "sorAsc.yIdx[4]", "sorAsc.yIdx[2]", "sorAsc.yIdx[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_OMSimulator-cs-cvode.fmu) > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5] Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,ramp4.duration,ramp4.height,ramp4.offset,ramp4.startTime,ramp4.y,ramp5.duration,ramp5.height,ramp5.offset,ramp5.startTime,ramp5.y,sorAsc.ascending,sorAsc.nin,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.ascending,sorDes.nin,sorDes.u[1],sorDes.u[2],sorDes.u[3],sorDes.u[4],sorDes.u[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],time filterSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.diff.mat", vars={"sorDes.yIdx[3]", "sorDes.yIdx[2]", "sorDes.yIdx[1]", "sorAsc.yIdx[5]", "sorAsc.yIdx[4]", "sorAsc.yIdx[2]", "sorAsc.yIdx[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.diff.ref.mat", vars={"sorDes.yIdx[3]", "sorDes.yIdx[2]", "sorDes.yIdx[1]", "sorAsc.yIdx[5]", "sorAsc.yIdx[4]", "sorAsc.yIdx[2]", "sorAsc.yIdx[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_OMSimulator-cs-euler.fmu) > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5] Variables in the result:ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,ramp3.duration,ramp3.height,ramp3.offset,ramp3.startTime,ramp3.y,ramp4.duration,ramp4.height,ramp4.offset,ramp4.startTime,ramp4.y,ramp5.duration,ramp5.height,ramp5.offset,ramp5.startTime,ramp5.y,sorAsc.ascending,sorAsc.nin,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.ascending,sorDes.nin,sorDes.u[1],sorDes.u[2],sorDes.u[3],sorDes.u[4],sorDes.u[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],time filterSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.diff.mat", vars={"sorDes.yIdx[3]", "sorDes.yIdx[2]", "sorDes.yIdx[1]", "sorAsc.yIdx[5]", "sorAsc.yIdx[4]", "sorAsc.yIdx[2]", "sorAsc.yIdx[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.diff.ref.mat", vars={"sorDes.yIdx[3]", "sorDes.yIdx[2]", "sorDes.yIdx[1]", "sorAsc.yIdx[5]", "sorAsc.yIdx[4]", "sorAsc.yIdx[2]", "sorAsc.yIdx[1]"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy_res.csv --output-variables 'sorAsc.u[1]' 'sorAsc.u[2]' 'sorAsc.u[3]' 'sorAsc.u[4]' 'sorAsc.u[5]' 'sorAsc.y[1]' 'sorAsc.y[2]' 'sorAsc.y[3]' 'sorAsc.y[4]' 'sorAsc.y[5]' 'sorDes.y[1]' 'sorDes.y[2]' 'sorDes.y[3]' 'sorDes.y[4]' 'sorDes.y[5]' 'sorAsc.yIdx[1]' 'sorAsc.yIdx[2]' 'sorAsc.yIdx[3]' 'sorAsc.yIdx[4]' 'sorAsc.yIdx[5]' 'sorDes.yIdx[1]' 'sorDes.yIdx[2]' 'sorDes.yIdx[3]' 'sorDes.yIdx[4]' 'sorDes.yIdx[5]' --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu) > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.0004 ../Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmpy-fmi3-cs-cvode.fmu) > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,sorAsc.u[1],sorAsc.u[2],sorAsc.u[3],sorAsc.u[4],sorAsc.u[5],sorAsc.y[1],sorAsc.y[2],sorAsc.y[3],sorAsc.y[4],sorAsc.y[5],sorDes.y[1],sorDes.y[2],sorDes.y[3],sorDes.y[4],sorDes.y[5],sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5] Variables in the result: filterSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.diff.mat", vars={}, removeDescription=false) [Timeout 300] "Error: Failed to open simulation result Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv: [:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.diff.ref.mat", vars={}, removeDescription=false) [Timeout 300] "[:1:1-1:0:writable] Error: Type mismatch for positional argument 3 in OpenModelica.Scripting.filterSimulationResults(vars={}). The argument has type: unknown()[0] expected type: String[:] " [Timeout remaining time 300] Failed to write the differing variables of /mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 7.796175755560398]