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.001237/0.001237, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001344/0.001343, allocations: 195.7 kB / 16.25 MB, free: 6.637 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.259/1.259, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.474/2.474, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 74.53 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2209, allocations: 157.4 MB / 1.052 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001705/0.2227, allocations: 0.7416 MB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.2234, allocations: 0.8157 MB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.324e-05/0.2234, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.2235, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.2235, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.2237, allocations: 8 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.543e-05/0.2237, allocations: 23.92 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.2238, allocations: 11.97 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.2239, allocations: 15.92 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.04e-05/0.2239, allocations: 8 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2239, allocations: 4 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-06/0.2239, allocations: 0 / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.224, allocations: 11.92 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.224, allocations: 4 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.224, allocations: 19.91 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2241, allocations: 3.938 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2241, allocations: 0 / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2241, allocations: 0 / 1.054 GB, free: 6.965 MB / 0.8106 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.0003601/0.2244, allocations: 343.8 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2245, allocations: 8.625 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.632e-05/0.2245, allocations: 30.75 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.2245, allocations: 8.844 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.2246, allocations: 168.4 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2246, allocations: 384 / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2247, allocations: 4.375 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2248, allocations: 46.23 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2248, allocations: 3.938 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2249, allocations: 8 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2249, allocations: 4 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.225, allocations: 35.84 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2253, allocations: 248.9 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.2254, allocations: 42.5 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.653e-05/0.2255, allocations: 20.91 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.2255, allocations: 0 / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2256, allocations: 34.55 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2256, allocations: 0 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003134/0.2259, allocations: 85.69 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2259, allocations: 55.39 kB / 1.055 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.226, allocations: 97.86 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.226, allocations: 29.7 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.226, allocations: 80.14 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.2261, allocations: 3.906 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2261, allocations: 21.7 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.2262, allocations: 310.8 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.455e-05/0.2263, allocations: 20.02 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.2263, allocations: 19.98 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2265, allocations: 40.75 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2265, allocations: 3.938 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000189/0.2267, allocations: 69.64 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2267, allocations: 4 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2267, allocations: 3.984 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.2267, allocations: 0 / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.2268, allocations: 12 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2268, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.2269, allocations: 7.984 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2269, allocations: 0 / 1.056 GB, free: 4.895 MB / 0.8106 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 6.286e-05/0.2269, allocations: 117.8 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.227, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.2272, allocations: 72.72 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2272, allocations: 7.984 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.2272, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.2272, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.2273, allocations: 157.6 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2273, allocations: 0 / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.2274, allocations: 12.02 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2274, allocations: 8.125 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2274, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2274, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2274, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.2277, allocations: 171.4 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.2278, allocations: 88.98 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.2278, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.2279, allocations: 11.92 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.228, allocations: 0 / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.228, allocations: 4 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.191e-05/0.228, allocations: 79.28 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2281, allocations: 0 / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003351/0.2284, allocations: 7.984 kB / 1.057 GB, free: 4.074 MB / 0.8106 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.0004447/0.2288, allocations: 0.6968 MB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.229, allocations: 35.91 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.229, allocations: 4.094 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.2291, allocations: 19.97 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2294, allocations: 8 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.2298, allocations: 131.8 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.23, allocations: 0.6768 MB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.23, allocations: 4.062 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.23, allocations: 7.438 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.23, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.29/1.52, allocations: 1.128 MB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/1.521, allocations: 205.4 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/3.013, allocations: 4 kB / 1.059 GB, free: 1.125 MB / 0.8106 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