Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001828/0.001828, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001881/0.001881, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.341/3.341, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_12_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.002134/0.002134, allocations: 74.45 kB / 1.149 GB, free: 26.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3799, allocations: 176.1 MB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002654/0.3825, allocations: 0.6729 MB / 1.322 GB, free: 2.641 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3838, allocations: 0.8164 MB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.014e-05/0.3839, allocations: 4 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.3839, allocations: 3.938 kB / 1.322 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.241e-05/0.384, allocations: 4 kB / 1.322 GB, free: 1.801 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.3842, allocations: 11.92 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3843, allocations: 31.86 kB / 1.322 GB, free: 1.758 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.3844, allocations: 7.984 kB / 1.322 GB, free: 1.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.691e-05/0.3845, allocations: 4 kB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.3846, allocations: 15.92 kB / 1.322 GB, free: 1.73 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.3846, allocations: 4 kB / 1.322 GB, free: 1.727 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.433e-05/0.3846, allocations: 8 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.3847, allocations: 8 kB / 1.322 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.3847, allocations: 11.92 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.3848, allocations: 32.11 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3848, allocations: 3.938 kB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3848, allocations: 0 / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.3848, allocations: 0 / 1.322 GB, free: 1.664 MB / 1.014 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.0005813/0.3854, allocations: 339.5 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.658e-05/0.3855, allocations: 11.98 kB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.3855, allocations: 30.75 kB / 1.323 GB, free: 1.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.3857, allocations: 8.938 kB / 1.323 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.3859, allocations: 168.3 kB / 1.323 GB, free: 1.02 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3859, allocations: 4.312 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.3859, allocations: 4.375 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.3861, allocations: 46.23 kB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3861, allocations: 7.938 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.3861, allocations: 0 / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3861, allocations: 0 / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3863, allocations: 31.97 kB / 1.323 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.3867, allocations: 252.9 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3868, allocations: 38.44 kB / 1.323 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.3869, allocations: 24.91 kB / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3869, allocations: 0 / 1.323 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.387, allocations: 34.56 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.387, allocations: 0 / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003796/0.3874, allocations: 81.64 kB / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3874, allocations: 55.34 kB / 1.324 GB, free: 364 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.944e-05/0.3875, allocations: 101.8 kB / 1.324 GB, free: 252 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3875, allocations: 33.83 kB / 1.324 GB, free: 212 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.3876, allocations: 80.14 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.3876, allocations: 3.953 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.3876, allocations: 17.72 kB / 1.324 GB, free: 100 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3878, allocations: 314.8 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.3879, allocations: 11.98 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.792e-05/0.3879, allocations: 19.98 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3881, allocations: 40.88 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3881, allocations: 3.938 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.3883, allocations: 65.61 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3883, allocations: 7.938 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3883, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3884, allocations: 8.016 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.3885, allocations: 8 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3885, allocations: 3.984 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.3885, allocations: 7.984 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3885, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 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 9.771e-05/0.3886, allocations: 117.8 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.3886, allocations: 7.891 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002486/0.3889, allocations: 72.78 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3889, allocations: 4.188 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3889, allocations: 4 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3889, allocations: 7.969 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.3891, allocations: 157.6 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3891, allocations: 0 / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.426e-05/0.3892, allocations: 11.92 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3892, allocations: 4 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.3892, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3892, allocations: 4.031 kB / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3892, allocations: 0 / 1.325 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3895, allocations: 159.5 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.3896, allocations: 77.11 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.3896, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.3896, allocations: 7.984 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.3897, allocations: 4.031 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.3897, allocations: 4 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001127/0.3898, allocations: 79.28 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3898, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002179/0.39, allocations: 4 kB / 1.325 GB, free: 14.78 MB / 1.029 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.0006398/0.3907, allocations: 0.7045 MB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.3909, allocations: 31.97 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3909, allocations: 4 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/0.391, allocations: 23.91 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3913, allocations: 8.156 kB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.3918, allocations: 135.7 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.3921, allocations: 0.6768 MB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.3921, allocations: 3.938 kB / 1.326 GB, free: 13.1 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.3922, allocations: 11.44 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of SimCode: time 6.92e-07/0.3922, allocations: 0 / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02802/0.4202, allocations: 1.294 MB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.486, allocations: 5.875 kB / 1.328 GB, free: 11.88 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Asin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv. Warning: Get data of variable arcSin.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.577022426063195]