Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8943/0.8943, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Acos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 0 / 0.9506 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.888e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.434 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Acos): time 0.001592/0.001621, allocations: 0.6639 MB / 0.9512 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.002581, allocations: 0.8354 MB / 0.952 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.002624, allocations: 4 kB / 0.952 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.937e-05/0.002654, allocations: 3.938 kB / 0.952 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.002717, allocations: 3.984 kB / 0.952 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.002905, allocations: 15.92 kB / 0.9521 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 6.687e-05/0.002972, allocations: 23.94 kB / 0.9521 GB, free: 1.863 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.46e-05/0.003067, allocations: 11.98 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.003134, allocations: 15.88 kB / 0.9521 GB, free: 1.836 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.003166, allocations: 3.984 kB / 0.9521 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.003181, allocations: 4 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.461e-05/0.003226, allocations: 4 kB / 0.9521 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.00324, allocations: 7.984 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.003257, allocations: 7.984 kB / 0.9521 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.46e-05/0.003352, allocations: 27.91 kB / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003354, allocations: 0 / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003354, allocations: 0 / 0.9522 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.003358, allocations: 4 kB / 0.9522 GB, free: 1.777 MB / 0.9011 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.0003335/0.003692, allocations: 262.3 kB / 0.9524 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.003733, allocations: 12.03 kB / 0.9524 GB, free: 1.477 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.633e-05/0.00377, allocations: 30.75 kB / 0.9525 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.808e-05/0.003858, allocations: 8.875 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.724e-05/0.003955, allocations: 109.8 kB / 0.9526 GB, free: 1.297 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.003968, allocations: 4.312 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.003979, allocations: 4.375 kB / 0.9526 GB, free: 1.289 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.004132, allocations: 46.23 kB / 0.9526 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.004143, allocations: 8.125 kB / 0.9526 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.004155, allocations: 4.375 kB / 0.9526 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.004163, allocations: 4.125 kB / 0.9526 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.044e-05/0.004253, allocations: 27.97 kB / 0.9527 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.004587, allocations: 216.1 kB / 0.9529 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.176e-05/0.004669, allocations: 34.56 kB / 0.9529 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.004717, allocations: 24.89 kB / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.004737, allocations: 0 / 0.9529 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.00476, allocations: 42.44 kB / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.004761, allocations: 0 / 0.953 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0002413/0.005002, allocations: 77.64 kB / 0.953 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.005044, allocations: 55.41 kB / 0.9531 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.005114, allocations: 97.86 kB / 0.9532 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.005126, allocations: 25.83 kB / 0.9532 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.005163, allocations: 88.12 kB / 0.9533 GB, free: 456 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.005184, allocations: 11.94 kB / 0.9533 GB, free: 444 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.00521, allocations: 13.72 kB / 0.9533 GB, free: 424 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.005287, allocations: 310.8 kB / 0.9536 GB, free: 104 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.005489, allocations: 19.98 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.484e-05/0.005524, allocations: 19.91 kB / 0.9537 GB, free: 64 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.005601, allocations: 44.83 kB / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005603, allocations: 0 / 0.9537 GB, free: 16 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001154/0.005719, allocations: 73.73 kB / 0.9538 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.005735, allocations: 4 kB / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.005741, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.005754, allocations: 0 / 0.9538 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.005825, allocations: 19.97 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.005831, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.005853, allocations: 12.03 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005857, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 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 5.205e-05/0.005909, allocations: 109.8 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.005924, allocations: 11.92 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.006049, allocations: 68.97 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006051, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006055, allocations: 0 / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.006058, allocations: 4 kB / 0.954 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.006154, allocations: 132.7 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.006155, allocations: 0 / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.006177, allocations: 4 kB / 0.9541 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.006179, allocations: 7.875 kB / 0.9541 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.006186, allocations: 7.984 kB / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.006187, allocations: 0 / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006188, allocations: 0 / 0.9541 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006301, allocations: 159.5 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-06/0.006307, allocations: 11.92 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.006317, allocations: 4 kB / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-05/0.00635, allocations: 0 / 0.9543 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.00639, allocations: 11.98 kB / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.006392, allocations: 0 / 0.9543 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.006418, allocations: 79.28 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000136/0.006554, allocations: 4 kB / 0.9544 GB, free: 15.22 MB / 0.9167 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.0002968/0.006851, allocations: 0.7007 MB / 0.9551 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001229/0.006973, allocations: 35.95 kB / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006975, allocations: 0 / 0.9551 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.007014, allocations: 19.98 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.007231, allocations: 6.594 kB / 0.9551 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.007568, allocations: 142.6 kB / 0.9553 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.317e-05/0.007611, allocations: 55.36 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.864e-05/0.00763, allocations: 3.984 kB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.007667, allocations: 20.44 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of SimCode: time 1.272e-06/0.007668, allocations: 0 / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01387/0.02154, allocations: 1.95 MB / 0.9572 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.614/6.635, allocations: 3.984 kB / 0.9573 GB, free: 12.34 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Acos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Acos.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable arcCos.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv. Warning: Get data of variable arcCos.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Acos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.828976455144584]