Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.001397/0.001397, 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.001732/0.001732, allocations: 196.8 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.294/1.294, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.2/2.2, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5071, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001414/0.5085, allocations: 0.7292 MB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005209/0.509, allocations: 0.7996 MB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.5091, allocations: 1.281 kB / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.5091, allocations: 0 / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.625e-05/0.5091, allocations: 0 / 0.9506 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.872e-05/0.5092, allocations: 18.42 kB / 0.9506 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 2.932e-05/0.5092, allocations: 20.73 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.5093, allocations: 4.219 kB / 0.9506 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.536e-05/0.5093, allocations: 14.33 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.016e-05/0.5093, allocations: 2.719 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.115e-06/0.5093, allocations: 2.469 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.164e-06/0.5093, allocations: 5.031 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.546e-06/0.5093, allocations: 11.92 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.5094, allocations: 6.438 kB / 0.9506 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 3.196e-05/0.5094, allocations: 23.98 kB / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.5094, allocations: 0 / 0.9507 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.41e-07/0.5094, allocations: 3.938 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.124e-06/0.5094, allocations: 1.312 kB / 0.9507 GB, free: 7.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000221/0.5096, allocations: 338.6 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.364e-05/0.5097, allocations: 8.688 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.295e-05/0.5097, allocations: 32.03 kB / 0.951 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.31e-05/0.5097, allocations: 6.312 kB / 0.951 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.058e-05/0.5097, allocations: 169.5 kB / 0.9512 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-06/0.5098, allocations: 5.594 kB / 0.9512 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.242e-06/0.5098, allocations: 1.719 kB / 0.9512 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.5099, allocations: 52.5 kB / 0.9513 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-06/0.5099, allocations: 5.5 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.799e-06/0.5099, allocations: 0 / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-06/0.5099, allocations: 3.938 kB / 0.9513 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.5101, allocations: 34.22 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.5102, allocations: 250 kB / 0.9515 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.801e-05/0.5103, allocations: 39.06 kB / 0.9516 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.28e-05/0.5104, allocations: 18.53 kB / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.5104, allocations: 0 / 0.9516 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.5104, allocations: 44.36 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.5104, allocations: 3.938 kB / 0.9516 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002642/0.5107, allocations: 71.91 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.111e-05/0.5107, allocations: 52.88 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.338e-05/0.5108, allocations: 102 kB / 0.9519 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-06/0.5108, allocations: 27.08 kB / 0.9519 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.361e-05/0.5108, allocations: 88.27 kB / 0.952 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.5108, allocations: 9.156 kB / 0.952 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.5108, allocations: 16.05 kB / 0.952 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.5109, allocations: 312.1 kB / 0.9523 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.5109, allocations: 16.3 kB / 0.9523 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.511, allocations: 13.58 kB / 0.9523 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.5112, allocations: 52.16 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5112, allocations: 3.938 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.5113, allocations: 60.52 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.776e-06/0.5113, allocations: 5.219 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.5113, allocations: 3.984 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.5114, allocations: 1.562 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.5114, allocations: 9.438 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.5114, allocations: 3.984 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.214e-05/0.5115, allocations: 8.172 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.5115, allocations: 1.438 kB / 0.9525 GB, free: 5.973 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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 3.323e-05/0.5115, allocations: 111.2 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.5116, allocations: 5.281 kB / 0.9526 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.5117, allocations: 81.94 kB / 0.9526 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.5118, allocations: 0 / 0.9526 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.5118, allocations: 5.484 kB / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-06/0.5118, allocations: 0 / 0.9527 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.274e-05/0.5119, allocations: 157.3 kB / 0.9528 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5119, allocations: 0.9375 kB / 0.9528 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.5119, allocations: 13.89 kB / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.5119, allocations: 0 / 0.9528 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-06/0.5119, allocations: 5.125 kB / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5119, allocations: 0 / 0.9528 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.512, allocations: 5.344 kB / 0.9528 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.5121, allocations: 166.3 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.28e-05/0.5121, allocations: 78.77 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.5122, allocations: 0 / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.5122, allocations: 8.297 kB / 0.9531 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.5123, allocations: 5.438 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.5123, allocations: 0 / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.5123, allocations: 87.42 kB / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5123, allocations: 0 / 0.9532 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001992/0.5125, allocations: 2.906 kB / 0.9532 GB, free: 5.227 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0003119/0.5128, allocations: 0.6964 MB / 0.9538 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.513, allocations: 37.56 kB / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.513, allocations: 0 / 0.9539 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.5131, allocations: 18.97 kB / 0.9539 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.5133, allocations: 10.91 kB / 0.9539 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.5135, allocations: 129.6 kB / 0.954 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.285e-05/0.5136, allocations: 0.6771 MB / 0.9547 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.706e-05/0.5136, allocations: 5.031 kB / 0.9547 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.5137, allocations: 8.562 kB / 0.9547 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5137, allocations: 0 / 0.9547 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.355/0.8686, allocations: 1.08 MB / 0.9558 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001214/0.8688, allocations: 208.1 kB / 0.956 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.36, allocations: 3.938 kB / 0.956 GB, free: 2.824 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches