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.001515/0.001515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.461/2.461, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6235/0.6248, allocations: 140.4 MB / 0.9497 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001861/0.6268, allocations: 0.8253 MB / 0.9505 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.6278, allocations: 1.01 MB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.6279, allocations: 1.219 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.628, allocations: 11.86 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.251e-05/0.6281, allocations: 22.42 kB / 0.9516 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.6285, allocations: 89.36 kB / 0.9516 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.6286, allocations: 126.2 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.6288, allocations: 51.16 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.6288, allocations: 53.14 kB / 0.9519 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.945e-05/0.6289, allocations: 51.98 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.6289, allocations: 9.156 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.6291, allocations: 63.55 kB / 0.952 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.6291, allocations: 40.5 kB / 0.952 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.6292, allocations: 50.89 kB / 0.9521 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.6294, allocations: 193.8 kB / 0.9523 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6294, allocations: 5.375 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6294, allocations: 0 / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.6294, allocations: 0 / 0.9523 GB, free: 7.156 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.0006898/0.6301, allocations: 477.2 kB / 0.9527 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.6302, allocations: 9.062 kB / 0.9527 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.6302, allocations: 46.55 kB / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.6302, allocations: 14.78 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.6304, allocations: 209.7 kB / 0.953 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.6304, allocations: 6.781 kB / 0.953 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.6304, allocations: 5.406 kB / 0.953 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.6309, allocations: 178 kB / 0.9532 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.6309, allocations: 7.938 kB / 0.9532 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.631, allocations: 5.25 kB / 0.9532 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.631, allocations: 13.36 kB / 0.9532 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.6317, allocations: 198.2 kB / 0.9534 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007609/0.6324, allocations: 461.9 kB / 0.9538 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/0.6329, allocations: 142.5 kB / 0.954 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.6332, allocations: 128.6 kB / 0.9541 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/0.6333, allocations: 0 / 0.9541 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.6333, allocations: 35.94 kB / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.6333, allocations: 0 / 0.9541 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001296/0.6346, allocations: 402.8 kB / 0.9545 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.6346, allocations: 56.38 kB / 0.9546 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.6347, allocations: 144.5 kB / 0.9547 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.6348, allocations: 31.11 kB / 0.9547 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.6348, allocations: 109.4 kB / 0.9548 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.6349, allocations: 52.95 kB / 0.9549 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.6349, allocations: 28.8 kB / 0.9549 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.921e-05/0.635, allocations: 323 kB / 0.9552 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.6354, allocations: 115.2 kB / 0.9553 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.6358, allocations: 112.4 kB / 0.9554 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.6364, allocations: 239.3 kB / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6365, allocations: 0 / 0.9557 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007514/0.6372, allocations: 276.2 kB / 0.9559 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6372, allocations: 10.75 kB / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6372, allocations: 0 / 0.9559 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.6373, allocations: 4 kB / 0.9559 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.6375, allocations: 36.45 kB / 0.956 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6375, allocations: 3.938 kB / 0.956 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.6377, allocations: 36.3 kB / 0.956 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.6377, allocations: 1.375 kB / 0.956 GB, free: 4.332 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 7.739e-05/0.6378, allocations: 137.4 kB / 0.9561 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.6379, allocations: 8.031 kB / 0.9561 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.6379, allocations: 11.59 kB / 0.9562 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-05/0.6379, allocations: 12.23 kB / 0.9562 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6379, allocations: 3.938 kB / 0.9562 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.6379, allocations: 0 / 0.9562 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.6381, allocations: 229.8 kB / 0.9564 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6381, allocations: 0.9375 kB / 0.9564 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.6383, allocations: 42.3 kB / 0.9564 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6384, allocations: 4 kB / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.6384, allocations: 1.188 kB / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6384, allocations: 1.312 kB / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6384, allocations: 7.875 kB / 0.9564 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000794/0.6392, allocations: 381 kB / 0.9568 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.6392, allocations: 88.45 kB / 0.9569 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.6393, allocations: 1.219 kB / 0.9569 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.6395, allocations: 36.17 kB / 0.9569 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.6395, allocations: 15.8 kB / 0.9569 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.6395, allocations: 2.656 kB / 0.9569 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.719e-05/0.6396, allocations: 115.5 kB / 0.9571 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6396, allocations: 0 / 0.9571 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003038/0.6399, allocations: 36.94 kB / 0.9571 GB, free: 3.43 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.641, allocations: 0.9374 MB / 0.958 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007987/0.6418, allocations: 258.5 kB / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6418, allocations: 0 / 0.9583 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.6422, allocations: 140.1 kB / 0.9584 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.6426, allocations: 29.61 kB / 0.9584 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.6455, allocations: 2.159 MB / 0.9605 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.6457, allocations: 0.7263 MB / 0.9612 GB, free: 100 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.812e-05/0.6458, allocations: 17.73 kB / 0.9613 GB, free: 92 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.6459, allocations: 35.8 kB / 0.9613 GB, free: 60 kB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6459, allocations: 1.094 kB / 0.9613 GB, free: 60 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/0.6652, allocations: 3.512 MB / 0.9647 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.342, allocations: 9.625 kB / 0.9647 GB, free: 14.25 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