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.001056/0.001056, allocations: 108 kB / 15.61 MB, free: 152 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.001073/0.001073, allocations: 198.3 kB / 16.53 MB, free: 6.664 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.25/1.25, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.444/2.444, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.98 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2405, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001823/0.2424, allocations: 0.6634 MB / 1.054 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.2432, allocations: 0.8157 MB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.2432, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.2433, allocations: 0 / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.2433, allocations: 3.938 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2435, allocations: 11.98 kB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.2435, allocations: 23.94 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.2436, allocations: 11.98 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.2437, allocations: 7.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.2437, allocations: 15.97 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2437, allocations: 0 / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.2437, allocations: 4 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.2438, allocations: 7.938 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.2438, allocations: 3.938 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.011e-05/0.2439, allocations: 19.97 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2439, allocations: 0 / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2439, allocations: 4 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.2439, allocations: 0 / 1.054 GB, free: 6.664 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.0003575/0.2442, allocations: 335.8 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.2443, allocations: 8.625 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.2443, allocations: 42.73 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.883e-05/0.2443, allocations: 8.781 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.633e-05/0.2444, allocations: 160.4 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.2445, allocations: 4.375 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.2445, allocations: 4.375 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2446, allocations: 54.22 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2447, allocations: 3.938 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2447, allocations: 0 / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.2447, allocations: 3.938 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.2448, allocations: 35.95 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.2451, allocations: 248.9 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.2452, allocations: 38.5 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.2453, allocations: 24.89 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.2453, allocations: 0 / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.2454, allocations: 34.56 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2454, allocations: 7.938 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003136/0.2457, allocations: 77.58 kB / 1.056 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2457, allocations: 59.41 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.915e-05/0.2458, allocations: 93.86 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.2458, allocations: 25.7 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.278e-05/0.2458, allocations: 84.14 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2459, allocations: 12.02 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.2459, allocations: 13.72 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.367e-05/0.246, allocations: 314.8 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.81e-05/0.2461, allocations: 15.98 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.882e-05/0.2461, allocations: 15.98 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.2463, allocations: 44.88 kB / 1.056 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2463, allocations: 3.938 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001806/0.2465, allocations: 69.5 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2465, allocations: 9.406 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2465, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2465, allocations: 0 / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.65e-05/0.2466, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2466, allocations: 8.016 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.2467, allocations: 4 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.2467, allocations: 4 kB / 1.056 GB, free: 4.594 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.327e-05/0.2468, allocations: 109.8 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.2468, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.247, allocations: 76.7 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.247, allocations: 4.031 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.247, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.247, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.2472, allocations: 161.6 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2472, allocations: 0 / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.2472, allocations: 15.92 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2472, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2473, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2473, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2473, allocations: 0 / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.2475, allocations: 167.5 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.2475, allocations: 84.95 kB / 1.057 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2476, allocations: 4 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.2476, allocations: 7.984 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.2477, allocations: 0 / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.2477, allocations: 3.938 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.2477, allocations: 95.47 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2477, allocations: 0 / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000203/0.2479, allocations: 7.938 kB / 1.057 GB, free: 3.766 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.0005049/0.2484, allocations: 0.6929 MB / 1.058 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.2486, allocations: 35.97 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2487, allocations: 3.938 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.542e-05/0.2487, allocations: 23.97 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.249, allocations: 0 / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.2494, allocations: 136 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2497, allocations: 0.6768 MB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.2497, allocations: 4 kB / 1.059 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.2497, allocations: 11.44 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2497, allocations: 0 / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.61/1.86, allocations: 1.247 MB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.22/11.08, allocations: 7.422 kB / 1.06 GB, free: 0.9062 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