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.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.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.0016/0.0016, allocations: 108 kB / 15.6 MB, free: 132 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.00175/0.00175, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.319/2.319, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5207, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.001554/0.5223, allocations: 0.6604 MB / 0.9504 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005811/0.5229, allocations: 0.8132 MB / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.5229, allocations: 0 / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.5229, allocations: 0 / 0.9512 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.523, allocations: 5.188 kB / 0.9512 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001137/0.5231, allocations: 9.266 kB / 0.9512 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.5232, allocations: 26.02 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.706e-05/0.5232, allocations: 2.688 kB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.5233, allocations: 15.61 kB / 0.9512 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.114e-05/0.5233, allocations: 10.28 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.5233, allocations: 1.781 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.5234, allocations: 2.406 kB / 0.9512 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.5234, allocations: 5.391 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.5234, allocations: 13.27 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.466e-05/0.5235, allocations: 19.47 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5235, allocations: 1.219 kB / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5235, allocations: 0 / 0.9513 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5235, allocations: 3.938 kB / 0.9513 GB, free: 7.945 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.0002977/0.5238, allocations: 343.1 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5238, allocations: 10.38 kB / 0.9516 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.867e-05/0.5239, allocations: 30.75 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.5239, allocations: 6.438 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.876e-05/0.5239, allocations: 169.8 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.524, allocations: 4.312 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.524, allocations: 1.812 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.5241, allocations: 54.45 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5241, allocations: 3.938 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.5241, allocations: 0 / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.5242, allocations: 1.438 kB / 0.9519 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.5243, allocations: 29.66 kB / 0.9519 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.5245, allocations: 241.3 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.5247, allocations: 55.19 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.5248, allocations: 19.44 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.5248, allocations: 0 / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.5248, allocations: 34.56 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.5248, allocations: 1.844 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003123/0.5251, allocations: 79.86 kB / 0.9523 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.5251, allocations: 55.34 kB / 0.9524 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.248e-05/0.5252, allocations: 102.8 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.5252, allocations: 27.2 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.841e-05/0.5252, allocations: 84.14 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.5252, allocations: 9.25 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.5253, allocations: 12.41 kB / 0.9526 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.249e-05/0.5253, allocations: 319 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.5254, allocations: 21.64 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.08e-05/0.5255, allocations: 17.89 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.5256, allocations: 38.61 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5256, allocations: 9.219 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.5258, allocations: 67.97 kB / 0.9531 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5258, allocations: 10.19 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5258, allocations: 0.6875 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.5258, allocations: 0 / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.5259, allocations: 10.73 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5259, allocations: 0 / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.526, allocations: 8.016 kB / 0.9531 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.526, allocations: 5.094 kB / 0.9531 GB, free: 6.074 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.897e-05/0.526, allocations: 110.9 kB / 0.9532 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.5261, allocations: 5.156 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002008/0.5263, allocations: 71.19 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.5263, allocations: 3.938 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5263, allocations: 0 / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.5263, allocations: 1.625 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.829e-05/0.5264, allocations: 165.8 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.5264, allocations: 0 / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.5265, allocations: 14.48 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5265, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.5265, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5265, allocations: 1.906 kB / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5265, allocations: 0 / 0.9534 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.5267, allocations: 166.6 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.5267, allocations: 78.11 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.5267, allocations: 0 / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.5268, allocations: 8.203 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.5268, allocations: 1.094 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.5269, allocations: 0.9062 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.894e-05/0.5269, allocations: 82.25 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5269, allocations: 1.188 kB / 0.9538 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002121/0.5271, allocations: 7.156 kB / 0.9538 GB, free: 5.344 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.0003336/0.5274, allocations: 0.6999 MB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001893/0.5276, allocations: 36.69 kB / 0.9545 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5276, allocations: 3.938 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.5277, allocations: 23.98 kB / 0.9545 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.528, allocations: 7.016 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003099/0.5283, allocations: 135.4 kB / 0.9547 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.5284, allocations: 0.6808 MB / 0.9553 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.012e-05/0.5284, allocations: 5.141 kB / 0.9553 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.5284, allocations: 12.59 kB / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5284, allocations: 0 / 0.9553 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01529/0.5437, allocations: 1.254 MB / 0.9566 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/7.541, allocations: 10.56 kB / 0.9566 GB, free: 3.027 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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