Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001204/0.001204, allocations: 72.27 kB / 9.851 MB, free: 0.8477 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007917/0.009121, allocations: 447.7 kB / 10.29 MB, free: 420 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.001192/0.001192, allocations: 149.9 kB / 11.17 MB, free: 3.008 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001432/0.002625, allocations: 480.2 kB / 11.64 MB, free: 2.535 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.984/0.984, allocations: 177.1 MB / 189.5 MB, free: 3.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1874/1.171, allocations: 53.67 MB / 243.2 MB, free: 2.363 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.302/2.302, allocations: 440.5 MB / 0.6683 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5639/2.866, allocations: 143.9 MB / 0.8088 GB, free: 6.258 MB / 0.7761 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,fileNamePrefix="Buildings_latest_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_latest_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.094e-06/2.094e-06, allocations: 0 / 0.8101 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.442e-05, allocations: 3.625 kB / 0.8102 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001788/0.001813, allocations: 0.8715 MB / 0.811 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.002938, allocations: 1.062 MB / 0.812 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.776e-05/0.002986, allocations: 1.469 kB / 0.812 GB, free: 3.656 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.241e-05/0.003048, allocations: 13.61 kB / 0.8121 GB, free: 3.645 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.118e-05/0.00312, allocations: 27.77 kB / 0.8121 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005456/0.008575, allocations: 86.31 kB / 0.8122 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.008785, allocations: 133.3 kB / 0.8123 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.008933, allocations: 27.52 kB / 0.8123 GB, free: 3.473 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.009076, allocations: 86.59 kB / 0.8124 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.009157, allocations: 48.06 kB / 0.8124 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.009181, allocations: 10.53 kB / 0.8125 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.009378, allocations: 100.1 kB / 0.8126 GB, free: 3.336 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.009433, allocations: 34.22 kB / 0.8126 GB, free: 3.324 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.009475, allocations: 30.53 kB / 0.8126 GB, free: 3.316 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.009723, allocations: 143.3 kB / 0.8127 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/0.009738, allocations: 0 / 0.8127 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.663e-06/0.00974, allocations: 0 / 0.8127 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.009755, allocations: 0.625 kB / 0.8127 GB, free: 3.246 MB / 0.7761 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.0005507/0.01031, allocations: 376.4 kB / 0.8131 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.01035, allocations: 10.97 kB / 0.8131 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.01039, allocations: 46.95 kB / 0.8132 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.01043, allocations: 18.61 kB / 0.8132 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.01059, allocations: 146.6 kB / 0.8133 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.01061, allocations: 7.625 kB / 0.8133 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.01062, allocations: 5.406 kB / 0.8133 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.01088, allocations: 125.4 kB / 0.8135 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.01089, allocations: 6.688 kB / 0.8135 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.0109, allocations: 5.219 kB / 0.8135 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.01091, allocations: 2.812 kB / 0.8135 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.294e-05/0.01097, allocations: 23.03 kB / 0.8135 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.01464, allocations: 350 kB / 0.8138 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.01474, allocations: 83.36 kB / 0.8139 GB, free: 2.246 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.01479, allocations: 25.7 kB / 0.8139 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.01485, allocations: 5.406 kB / 0.8139 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.01488, allocations: 36.61 kB / 0.814 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 2.905e-06/0.01488, allocations: 0 / 0.814 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.000265/0.01515, allocations: 139 kB / 0.8141 GB, free: 2.145 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.01518, allocations: 52.91 kB / 0.8141 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.01529, allocations: 153.6 kB / 0.8143 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.0153, allocations: 31.66 kB / 0.8143 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.01535, allocations: 104.1 kB / 0.8144 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-05/0.01541, allocations: 74.77 kB / 0.8145 GB, free: 1.746 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.01547, allocations: 28.19 kB / 0.8145 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.01557, allocations: 327.4 kB / 0.8148 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.01561, allocations: 23.08 kB / 0.8149 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.593e-05/0.01565, allocations: 22.91 kB / 0.8149 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.01576, allocations: 72.28 kB / 0.8149 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01576, allocations: 5.062 kB / 0.815 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001531/0.01591, allocations: 97.58 kB / 0.815 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.01593, allocations: 5.812 kB / 0.8151 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.01595, allocations: 5.047 kB / 0.8151 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01596, allocations: 0 / 0.8151 GB, free: 1.301 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.01609, allocations: 20.7 kB / 0.8151 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01609, allocations: 3.438 kB / 0.8151 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.01617, allocations: 27.38 kB / 0.8151 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.01619, allocations: 2.562 kB / 0.8151 GB, free: 1.281 MB / 0.7761 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 0.0001174/0.01631, allocations: 126.2 kB / 0.8152 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.01635, allocations: 6.281 kB / 0.8152 GB, free: 1.152 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002173/0.01656, allocations: 134.4 kB / 0.8154 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.01657, allocations: 1.875 kB / 0.8154 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.01657, allocations: 1.062 kB / 0.8154 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01657, allocations: 3.938 kB / 0.8154 GB, free: 1.074 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.01678, allocations: 154.7 kB / 0.8155 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.01678, allocations: 1.375 kB / 0.8155 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/0.01688, allocations: 28.81 kB / 0.8155 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01689, allocations: 1.031 kB / 0.8155 GB, free: 0.9141 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.0169, allocations: 5.531 kB / 0.8156 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.0169, allocations: 1 kB / 0.8156 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.0169, allocations: 0 / 0.8156 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.01713, allocations: 259.9 kB / 0.8158 GB, free: 0.7031 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.01715, allocations: 20.73 kB / 0.8158 GB, free: 0.6875 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.01717, allocations: 5.406 kB / 0.8158 GB, free: 0.6836 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01727, allocations: 14.02 kB / 0.8158 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.01733, allocations: 15.25 kB / 0.8159 GB, free: 0.668 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.01734, allocations: 5.656 kB / 0.8159 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.01738, allocations: 36.34 kB / 0.8159 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01738, allocations: 1.25 kB / 0.8159 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003087/0.01769, allocations: 42.81 kB / 0.8159 GB, free: 0.6367 MB / 0.7761 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.0004025/0.01809, allocations: 0.6103 MB / 0.8165 GB, free: 52 kB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.01835, allocations: 141.8 kB / 0.8167 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01835, allocations: 5.469 kB / 0.8167 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01849, allocations: 108.6 kB / 0.8168 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01873, allocations: 22.45 kB / 0.8168 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.02058, allocations: 1.143 MB / 0.8179 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.684e-05/0.02065, allocations: 89.25 kB / 0.818 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 6.177e-05/0.02071, allocations: 4.812 kB / 0.818 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.02086, allocations: 100.3 kB / 0.8181 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of SimCode: time 1.543e-06/0.02086, allocations: 0.75 kB / 0.8181 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of FMU documentation: time 0.03021/0.05107, allocations: 5.243 MB / 0.8232 GB, free: 12.02 MB / 0.7917 GB Notification: FMU-only work: backend 0.0001682, simCode 0.001123, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.106/0.1571, allocations: 1.36 MB / 0.8245 GB, free: 10.6 MB / 0.7917 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.606/2.763, allocations: 27.02 kB / 0.8246 GB, free: 10.58 MB / 0.7917 GB " [Timeout remaining time 297] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=me --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu) > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode_res.mat --stripRoot --tempDir=temp_Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_OMSimulator-cs-cvode.fmu) > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-cvode_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_OMSimulator-cs-euler.fmu) > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_OMSimulator-cs-euler_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sort.fmu) > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Sort_fmpy-fmi3-cs-cvode.fmu) > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv: Error: Error opening file: Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode_res.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.diff.mat: "" filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sort.csv to /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_fmpy-fmi3-cs-cvode.diff.ref.mat: "" [Calling sys.exit(0), Time elapsed: 8.479377396404743]