Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 194.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7486, allocations: 140.4 MB / 0.9493 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.002109/0.7508, allocations: 0.8917 MB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.7521, allocations: 1.011 MB / 0.9511 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.7522, allocations: 5.375 kB / 0.9511 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.7523, allocations: 7.938 kB / 0.9511 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.7524, allocations: 14.61 kB / 0.9511 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.7528, allocations: 77.98 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.7529, allocations: 121.1 kB / 0.9513 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.7531, allocations: 51.36 kB / 0.9514 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.7532, allocations: 53.72 kB / 0.9514 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.7533, allocations: 54.94 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.7533, allocations: 10.69 kB / 0.9515 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.7534, allocations: 66.02 kB / 0.9516 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.7535, allocations: 41.64 kB / 0.9516 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.7535, allocations: 55.69 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.7538, allocations: 184.6 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7538, allocations: 1.219 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7538, allocations: 0 / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.7538, allocations: 0 / 0.9518 GB, free: 7.105 MB / 0.7169 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.0007665/0.7546, allocations: 483.9 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7546, allocations: 9.188 kB / 0.9523 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.225e-05/0.7547, allocations: 46.89 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.7547, allocations: 15.28 kB / 0.9524 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.7549, allocations: 203.1 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.7549, allocations: 11.02 kB / 0.9526 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.7549, allocations: 9.062 kB / 0.9526 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000517/0.7555, allocations: 177.8 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.7555, allocations: 3.938 kB / 0.9527 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.7555, allocations: 5.219 kB / 0.9527 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.7555, allocations: 9.281 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006829/0.7562, allocations: 206.8 kB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.7571, allocations: 457.6 kB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.7575, allocations: 142.9 kB / 0.9535 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00036/0.7578, allocations: 128.2 kB / 0.9536 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.7579, allocations: 4 kB / 0.9537 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.7579, allocations: 36.66 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.694e-06/0.7579, allocations: 0 / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001189/0.7591, allocations: 401.1 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.7591, allocations: 52.81 kB / 0.9541 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.7592, allocations: 148.3 kB / 0.9543 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.7592, allocations: 30.89 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.7593, allocations: 112.7 kB / 0.9544 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.7593, allocations: 49.23 kB / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.7594, allocations: 26.25 kB / 0.9545 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.7594, allocations: 322.1 kB / 0.9548 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.7598, allocations: 115.8 kB / 0.9549 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.7602, allocations: 111.5 kB / 0.955 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/0.7608, allocations: 243.7 kB / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.7609, allocations: 0 / 0.9552 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007257/0.7616, allocations: 277.6 kB / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.7616, allocations: 3.906 kB / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.7616, allocations: 0 / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7616, allocations: 3.969 kB / 0.9555 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.7619, allocations: 31.36 kB / 0.9555 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.7619, allocations: 7.938 kB / 0.9555 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.7621, allocations: 37.42 kB / 0.9556 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.7621, allocations: 2.844 kB / 0.9556 GB, free: 4.273 MB / 0.7169 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 8.33e-05/0.7622, allocations: 128.5 kB / 0.9557 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.7622, allocations: 7.938 kB / 0.9557 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.7623, allocations: 16.83 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.191e-05/0.7623, allocations: 11.31 kB / 0.9557 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7623, allocations: 3.938 kB / 0.9557 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7623, allocations: 4 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.7625, allocations: 230 kB / 0.956 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7625, allocations: 0 / 0.956 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.7627, allocations: 39.17 kB / 0.956 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.7628, allocations: 0 / 0.956 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.7628, allocations: 9.828 kB / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.7628, allocations: 0 / 0.956 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7628, allocations: 7.938 kB / 0.956 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.7636, allocations: 373.6 kB / 0.9564 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.7636, allocations: 93 kB / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.7636, allocations: 0 / 0.9565 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.7638, allocations: 32.42 kB / 0.9565 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.7639, allocations: 20.22 kB / 0.9565 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.7639, allocations: 6.328 kB / 0.9565 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.808e-05/0.764, allocations: 115.6 kB / 0.9566 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.764, allocations: 3.938 kB / 0.9566 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000323/0.7643, allocations: 37.97 kB / 0.9567 GB, free: 3.367 MB / 0.7169 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.001042/0.7654, allocations: 0.9322 MB / 0.9576 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007929/0.7662, allocations: 265 kB / 0.9578 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.7662, allocations: 1.375 kB / 0.9578 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.7665, allocations: 135.5 kB / 0.958 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.7669, allocations: 31.22 kB / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.7699, allocations: 2.204 MB / 0.9601 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.7701, allocations: 0.7226 MB / 0.9608 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.872e-05/0.7702, allocations: 17.31 kB / 0.9609 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.7703, allocations: 41.36 kB / 0.9609 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.7703, allocations: 0 / 0.9609 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.7845, allocations: 3.166 MB / 0.964 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.7847, allocations: 202.9 kB / 0.9642 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/2.645, allocations: 0 / 0.9642 GB, free: 14.15 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches