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.001772/0.001772, allocations: 103.6 kB / 18.95 MB, free: 2.652 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.002237/0.002237, allocations: 217.6 kB / 22.25 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.781 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.172/3.172, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001992/0.001992, allocations: 73.61 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3774, allocations: 176.1 MB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002027/0.3794, allocations: 0.6685 MB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3805, allocations: 0.8203 MB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.3806, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.323e-05/0.3806, allocations: 0 / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.867e-05/0.3806, allocations: 7.922 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.3808, allocations: 8 kB / 1.327 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.3809, allocations: 19.92 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.381, allocations: 8 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.944e-05/0.381, allocations: 15.92 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.3811, allocations: 3.984 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3811, allocations: 8 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-05/0.3811, allocations: 15.98 kB / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.3812, allocations: 0 / 1.327 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.3812, allocations: 11.94 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3813, allocations: 32.06 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3813, allocations: 0 / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3813, allocations: 0 / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.3813, allocations: 0 / 1.327 GB, free: 15.78 MB / 1.029 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.0004249/0.3817, allocations: 258.3 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3818, allocations: 12.03 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.3818, allocations: 42.73 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.3819, allocations: 4.938 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.382, allocations: 110.5 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.382, allocations: 384 / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.382, allocations: 4.375 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3822, allocations: 50.23 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3822, allocations: 3.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.3822, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3822, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.3824, allocations: 39.89 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.3827, allocations: 224 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3829, allocations: 42.48 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.3829, allocations: 16.91 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.383, allocations: 3.938 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.383, allocations: 38.56 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.383, allocations: 0 / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.3834, allocations: 81.58 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.3834, allocations: 55.41 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.335e-05/0.3835, allocations: 97.86 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3835, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.3836, allocations: 88.06 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.3836, allocations: 11.95 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.3836, allocations: 9.719 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3838, allocations: 314.8 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.401e-05/0.3839, allocations: 20.11 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.3839, allocations: 15.97 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3841, allocations: 40.77 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3841, allocations: 3.938 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.3843, allocations: 73.72 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3843, allocations: 4 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3843, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.3843, allocations: 0 / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.3844, allocations: 11.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3844, allocations: 0 / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/0.3845, allocations: 4 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3845, allocations: 0 / 1.329 GB, free: 13.91 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.352e-05/0.3846, allocations: 118.3 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.3846, allocations: 7.984 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.3848, allocations: 72.91 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3848, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3848, allocations: 4 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3848, allocations: 0 / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.385, allocations: 128.7 kB / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.385, allocations: 0 / 1.329 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.3851, allocations: 7.984 kB / 1.329 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3851, allocations: 4 kB / 1.329 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.3851, allocations: 4.031 kB / 1.329 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.3851, allocations: 4 kB / 1.329 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3851, allocations: 3.984 kB / 1.329 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.3853, allocations: 167.6 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-06/0.3853, allocations: 3.984 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3854, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.3854, allocations: 7.984 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.3855, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.3855, allocations: 4.031 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3855, allocations: 83.22 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3855, allocations: 3.938 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002147/0.3857, allocations: 8 kB / 1.33 GB, free: 13.2 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.0005948/0.3863, allocations: 0.6967 MB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3865, allocations: 39.94 kB / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3865, allocations: 0 / 1.33 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.3866, allocations: 15.98 kB / 1.33 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.387, allocations: 11.98 kB / 1.33 GB, free: 12.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.3874, allocations: 127.9 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.3875, allocations: 59.34 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.362e-05/0.3875, allocations: 4.125 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.3876, allocations: 11.44 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.3876, allocations: 0 / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.4161, allocations: 1.846 MB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.49, allocations: 3.938 kB / 1.332 GB, free: 10.44 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.214903129002778]