Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.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.001821/0.001821, allocations: 103.6 kB / 18.95 MB, free: 2.664 MB / 14.72 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.002379/0.002379, allocations: 210.8 kB / 22.24 MB, free: 5.266 MB / 14.72 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 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.879/2.879, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.56 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002371/0.3445, allocations: 0.6632 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.3457, allocations: 0.8122 MB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.686e-05/0.3458, allocations: 0 / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.3458, allocations: 7.875 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.3459, allocations: 4 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.3461, allocations: 11.92 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.288e-05/0.3462, allocations: 27.92 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.3463, allocations: 0 / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.227e-05/0.3464, allocations: 15.97 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.118e-05/0.3464, allocations: 11.94 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3464, allocations: 4 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.3465, allocations: 8 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.3465, allocations: 3.984 kB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.3465, allocations: 7.938 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.3467, allocations: 29.16 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3467, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.594e-06/0.3467, allocations: 3.938 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3467, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 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.000487/0.3472, allocations: 262.3 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3472, allocations: 12.03 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.3472, allocations: 30.75 kB / 1.284 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.3473, allocations: 8.922 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3475, allocations: 110.5 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.3475, allocations: 4.312 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.3475, allocations: 384 / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3477, allocations: 54.17 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3477, allocations: 7.922 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.3477, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3477, allocations: 4 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3479, allocations: 35.97 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.3482, allocations: 216 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3484, allocations: 42.44 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.3485, allocations: 24.89 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3485, allocations: 0 / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.3485, allocations: 30.56 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3485, allocations: 4 kB / 1.285 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003551/0.3489, allocations: 81.64 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3489, allocations: 51.41 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.349, allocations: 97.86 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.349, allocations: 29.64 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.3491, allocations: 88.08 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3491, allocations: 11.94 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3492, allocations: 13.84 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3493, allocations: 314.8 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.3494, allocations: 15.98 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.404e-05/0.3494, allocations: 19.97 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3496, allocations: 32.83 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.3496, allocations: 7.938 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/0.3498, allocations: 69.72 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.3498, allocations: 6.031 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3498, allocations: 4 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3498, allocations: 3.938 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.924e-05/0.3499, allocations: 11.92 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3499, allocations: 0 / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.35, allocations: 4 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.35, allocations: 0 / 1.286 GB, free: 8.926 MB / 0.9825 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.914e-05/0.3501, allocations: 119.3 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3501, allocations: 3.953 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002374/0.3503, allocations: 76.95 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3503, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3503, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3503, allocations: 0 / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.3505, allocations: 128.7 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3505, allocations: 0 / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.96e-05/0.3506, allocations: 8.031 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3506, allocations: 7.938 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3506, allocations: 7.922 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3506, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3506, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.3508, allocations: 167.5 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-06/0.3508, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3509, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.3509, allocations: 4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.351, allocations: 12.02 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.351, allocations: 4 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.467e-05/0.351, allocations: 75.28 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.351, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002211/0.3512, allocations: 8 kB / 1.286 GB, free: 8.246 MB / 0.9825 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.0005743/0.3518, allocations: 0.6928 MB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.352, allocations: 43.98 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.352, allocations: 0 / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.3521, allocations: 11.98 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3524, allocations: 8.328 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.3529, allocations: 147.8 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.3529, allocations: 55.36 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.3529, allocations: 12.06 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.353, allocations: 11.42 kB / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.353, allocations: 0 / 1.287 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.3819, allocations: 1.817 MB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.69, allocations: 14.05 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_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_Asin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable arcSin.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv. Warning: Get data of variable arcSin.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.65045282477513]