Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_latest_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.009451/0.009451, allocations: 103 kB / 15.73 MB, free: 6.059 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.001494/0.001494, allocations: 187.8 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7348 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 1.054 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.076, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.002044/1.078, allocations: 0.6724 MB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009792/1.079, allocations: 0.804 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/1.079, allocations: 4 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/1.079, allocations: 7.938 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.949e-05/1.079, allocations: 0 / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/1.08, allocations: 11.92 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.301e-05/1.08, allocations: 27.97 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/1.08, allocations: 0 / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/1.08, allocations: 11.94 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.384e-05/1.08, allocations: 11.98 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/1.08, allocations: 4 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/1.08, allocations: 3.938 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/1.08, allocations: 0 / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.945e-05/1.08, allocations: 19.92 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.458e-05/1.08, allocations: 23.89 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/1.08, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.422e-06/1.08, allocations: 3.938 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.631e-06/1.08, allocations: 0 / 1.209 GB, free: 11.92 MB / 0.9356 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.0004575/1.081, allocations: 337.7 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.081, allocations: 12.03 kB / 1.209 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/1.081, allocations: 30.75 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/1.081, allocations: 4.938 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.081, allocations: 168.4 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/1.081, allocations: 4.359 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/1.081, allocations: 384 / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/1.081, allocations: 46.25 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.081, allocations: 3.938 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/1.081, allocations: 0 / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.081, allocations: 7.922 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/1.081, allocations: 35.97 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/1.082, allocations: 240.9 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/1.082, allocations: 46.53 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/1.082, allocations: 20.91 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/1.082, allocations: 0 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/1.082, allocations: 46.44 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/1.082, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003521/1.082, allocations: 81.55 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/1.082, allocations: 51.41 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/1.082, allocations: 102 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.082, allocations: 29.83 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/1.082, allocations: 84.08 kB / 1.21 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/1.083, allocations: 11.91 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/1.083, allocations: 9.719 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.083, allocations: 318.8 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.148e-05/1.083, allocations: 15.98 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/1.083, allocations: 11.98 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/1.083, allocations: 44.83 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.083, allocations: 3.938 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/1.083, allocations: 69.66 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.083, allocations: 4 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.083, allocations: 48 / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.083, allocations: 4.016 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.051e-05/1.083, allocations: 15.98 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/1.083, allocations: 0 / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/1.083, allocations: 7.984 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.083, allocations: 0 / 1.211 GB, free: 9.852 MB / 0.9356 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 7.338e-05/1.083, allocations: 109.8 kB / 1.211 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/1.084, allocations: 4 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/1.084, allocations: 80.66 kB / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.084, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.084, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.084, allocations: 0 / 1.211 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/1.084, allocations: 169.6 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.084, allocations: 0 / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.736e-05/1.084, allocations: 4 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.084, allocations: 0 / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/1.084, allocations: 3.984 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/1.084, allocations: 4 kB / 1.211 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.084, allocations: 4.031 kB / 1.211 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/1.084, allocations: 171.3 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/1.084, allocations: 81.05 kB / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/1.084, allocations: 0 / 1.211 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/1.084, allocations: 4 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/1.084, allocations: 8.016 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/1.085, allocations: 0 / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.563e-05/1.085, allocations: 83.28 kB / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.085, allocations: 0 / 1.211 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002136/1.085, allocations: 4 kB / 1.211 GB, free: 9.035 MB / 0.9356 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.0005633/1.085, allocations: 0.7007 MB / 1.212 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002093/1.086, allocations: 35.95 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.086, allocations: 0 / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/1.086, allocations: 15.98 kB / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/1.086, allocations: 12.16 kB / 1.212 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/1.086, allocations: 143.7 kB / 1.212 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/1.087, allocations: 0.6767 MB / 1.213 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.594e-05/1.087, allocations: 7.922 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.196e-05/1.087, allocations: 11.44 kB / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/1.087, allocations: 0 / 1.213 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/1.106, allocations: 1.292 MB / 1.214 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/8.533, allocations: 11.97 kB / 1.214 GB, free: 6.121 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches