Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.Acos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.009661/0.009661, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00201/0.00201, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.697/2.697, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3313, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002271/0.3336, allocations: 0.6556 MB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3347, allocations: 0.8238 MB / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.3348, allocations: 0 / 1.168 GB, free: 5.777 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.3349, allocations: 3.938 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.522e-05/0.335, allocations: 3.938 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.3351, allocations: 8 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.3352, allocations: 23.92 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.3354, allocations: 11.98 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.3355, allocations: 7.984 kB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.3355, allocations: 15.86 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3356, allocations: 4 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.3356, allocations: 0 / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.138e-05/0.3356, allocations: 4 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.3356, allocations: 11.94 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.3358, allocations: 23.91 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3358, allocations: 4 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3358, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.3358, allocations: 0 / 1.168 GB, free: 5.656 MB / 0.92 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.0006218/0.3364, allocations: 338.3 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/0.3365, allocations: 8.031 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.3366, allocations: 34.73 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.3366, allocations: 4.875 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.3368, allocations: 164.4 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.3368, allocations: 4.375 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3368, allocations: 384 / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.337, allocations: 50.23 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3371, allocations: 3.938 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3371, allocations: 0 / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3371, allocations: 0 / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.3372, allocations: 35.95 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.3376, allocations: 252.9 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3378, allocations: 38.5 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.866e-05/0.3379, allocations: 28.89 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3379, allocations: 0 / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3379, allocations: 30.56 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3379, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003421/0.3383, allocations: 89.48 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.3383, allocations: 51.41 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.3384, allocations: 97.86 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.3384, allocations: 25.7 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.3385, allocations: 84.14 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.3385, allocations: 12.58 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.3386, allocations: 9.719 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3387, allocations: 318.8 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.3388, allocations: 11.98 kB / 1.169 GB, free: 3.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.3388, allocations: 15.98 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.339, allocations: 48.81 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.339, allocations: 3.938 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.3392, allocations: 69.59 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3392, allocations: 4 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3392, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3392, allocations: 3.938 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.3393, allocations: 8 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.3393, allocations: 8.016 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.3394, allocations: 4.281 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3394, allocations: 4.188 kB / 1.17 GB, free: 3.594 MB / 0.92 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 8.11e-05/0.3395, allocations: 121.7 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3395, allocations: 0 / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.3398, allocations: 76.69 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3398, allocations: 4.031 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3398, allocations: 4 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3398, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.3399, allocations: 157.6 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.34, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.34, allocations: 11.98 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.34, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.34, allocations: 4 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3401, allocations: 0 / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3401, allocations: 0 / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000225/0.3403, allocations: 167.4 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.3403, allocations: 77.11 kB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3404, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.3404, allocations: 7.984 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.3405, allocations: 4 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3405, allocations: 7.938 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.3405, allocations: 83.3 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3405, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002158/0.3408, allocations: 4 kB / 1.17 GB, free: 2.777 MB / 0.92 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.0005532/0.3413, allocations: 0.6968 MB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3415, allocations: 35.95 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3416, allocations: 0 / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3416, allocations: 23.92 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.342, allocations: 7.938 kB / 1.171 GB, free: 1.984 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.3425, allocations: 147.6 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.3427, allocations: 0.6806 MB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.3427, allocations: 0 / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.3428, allocations: 11.44 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.3428, allocations: 0 / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.3605, allocations: 1.263 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.769, allocations: 8.062 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches