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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00137/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001344/0.001344, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.458, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001531/0.4596, allocations: 0.8813 MB / 0.9499 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008618/0.4604, allocations: 1.027 MB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.4605, allocations: 1.375 kB / 0.9509 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.259e-05/0.4606, allocations: 11.94 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.95e-05/0.4606, allocations: 18.55 kB / 0.951 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4609, allocations: 65.8 kB / 0.951 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.071e-05/0.461, allocations: 119.9 kB / 0.9511 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4611, allocations: 47.08 kB / 0.9512 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.4612, allocations: 48.92 kB / 0.9512 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.4612, allocations: 59.25 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4612, allocations: 6.781 kB / 0.9513 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.4613, allocations: 59.66 kB / 0.9513 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.72e-05/0.4614, allocations: 33.3 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.4614, allocations: 58.56 kB / 0.9514 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.4616, allocations: 176.1 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4616, allocations: 1.219 kB / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.61e-07/0.4616, allocations: 0 / 0.9516 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.4616, allocations: 0 / 0.9516 GB, free: 7.227 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.0005902/0.4622, allocations: 479.1 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.4622, allocations: 8.719 kB / 0.9521 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.4623, allocations: 46.88 kB / 0.9521 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.4623, allocations: 14.56 kB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.4624, allocations: 205.8 kB / 0.9523 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.4624, allocations: 7.469 kB / 0.9523 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.4625, allocations: 8.969 kB / 0.9523 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.4629, allocations: 185 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.4629, allocations: 9.172 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4629, allocations: 4 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.463, allocations: 9.75 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.4636, allocations: 206.8 kB / 0.9527 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.4643, allocations: 457.6 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.4646, allocations: 146.7 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.4649, allocations: 124 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.465, allocations: 0.875 kB / 0.9534 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.465, allocations: 43.92 kB / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.465, allocations: 0 / 0.9535 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001002/0.466, allocations: 398 kB / 0.9539 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.553e-05/0.466, allocations: 52.56 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.4661, allocations: 149 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.898e-06/0.4661, allocations: 25.78 kB / 0.9541 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.4662, allocations: 118 kB / 0.9542 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.4662, allocations: 48.2 kB / 0.9542 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.4662, allocations: 22.12 kB / 0.9542 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.4663, allocations: 322.4 kB / 0.9546 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.4666, allocations: 111.6 kB / 0.9547 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.4669, allocations: 116 kB / 0.9548 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005696/0.4675, allocations: 247.3 kB / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4675, allocations: 0 / 0.955 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006256/0.4681, allocations: 275.5 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.4681, allocations: 5.375 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.4681, allocations: 0 / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.4681, allocations: 1.812 kB / 0.9553 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.4683, allocations: 33.42 kB / 0.9553 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4684, allocations: 9.75 kB / 0.9553 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.4685, allocations: 35.83 kB / 0.9554 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.4685, allocations: 2.656 kB / 0.9554 GB, free: 4.391 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 6.181e-05/0.4686, allocations: 132.7 kB / 0.9555 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.4686, allocations: 9 kB / 0.9555 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.238e-05/0.4687, allocations: 17.77 kB / 0.9555 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.4687, allocations: 4.625 kB / 0.9555 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.4687, allocations: 7.938 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4687, allocations: 1.094 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.4689, allocations: 225.5 kB / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4689, allocations: 0 / 0.9557 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.4691, allocations: 34.95 kB / 0.9558 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4691, allocations: 3.938 kB / 0.9558 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.4691, allocations: 5.156 kB / 0.9558 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4691, allocations: 1.406 kB / 0.9558 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4691, allocations: 7.938 kB / 0.9558 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/0.4698, allocations: 380.6 kB / 0.9562 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.4698, allocations: 88.42 kB / 0.9562 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.4698, allocations: 9.484 kB / 0.9562 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.47, allocations: 24.66 kB / 0.9563 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.2e-05/0.4701, allocations: 27.72 kB / 0.9563 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.4701, allocations: 2.875 kB / 0.9563 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.886e-05/0.4701, allocations: 116.4 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4701, allocations: 4 kB / 0.9564 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002436/0.4704, allocations: 35.69 kB / 0.9564 GB, free: 3.484 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.0008538/0.4712, allocations: 0.9311 MB / 0.9574 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006383/0.4719, allocations: 255.2 kB / 0.9576 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.4719, allocations: 0 / 0.9576 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.4722, allocations: 132.6 kB / 0.9577 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.4725, allocations: 27.59 kB / 0.9578 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.475, allocations: 2.208 MB / 0.9599 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.4752, allocations: 0.718 MB / 0.9606 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.662e-05/0.4752, allocations: 21.39 kB / 0.9606 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.4753, allocations: 43.61 kB / 0.9607 GB, free: 72 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4753, allocations: 0 / 0.9607 GB, free: 72 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.134/3.61, allocations: 3.077 MB / 0.9637 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/3.61, allocations: 199.5 kB / 0.9639 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.855/5.465, allocations: 0 / 0.9639 GB, free: 14.31 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