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.001325/0.001325, allocations: 113.2 kB / 19.73 MB, free: 2.242 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.001446/0.001446, allocations: 221.2 kB / 23.04 MB, free: 5.074 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.994/2.994, allocations: 476.7 MB / 0.7714 GB, free: 4.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="cs",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.002121/0.002121, allocations: 64.67 kB / 1.118 GB, free: 40.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3895, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001904/0.3914, allocations: 0.6682 MB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009984/0.3924, allocations: 0.8238 MB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.987e-05/0.3925, allocations: 0 / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.3925, allocations: 0 / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.748e-05/0.3926, allocations: 3.938 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001643/0.3927, allocations: 15.98 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.3928, allocations: 23.86 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.558e-05/0.3929, allocations: 11.98 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.3929, allocations: 4 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.393, allocations: 11.92 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.393, allocations: 4 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.393, allocations: 15.94 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.393, allocations: 0 / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.3931, allocations: 11.94 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.617e-05/0.3932, allocations: 31.39 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3932, allocations: 4 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3932, allocations: 0 / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3932, allocations: 0 / 1.286 GB, free: 10.14 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.0004175/0.3936, allocations: 262.3 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3936, allocations: 12.03 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.24e-05/0.3936, allocations: 4.188 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.3937, allocations: 34.75 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.58e-05/0.3938, allocations: 0.9375 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.3939, allocations: 110.5 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.3939, allocations: 4.375 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3939, allocations: 4.375 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.3941, allocations: 53.97 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3941, allocations: 0 / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.3941, allocations: 8 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3941, allocations: 0 / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.3943, allocations: 35.89 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.3946, allocations: 220 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.3947, allocations: 38.55 kB / 1.287 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.3948, allocations: 28.91 kB / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.3948, allocations: 0 / 1.287 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3948, allocations: 30.56 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.3948, allocations: 0 / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.3952, allocations: 85.58 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3952, allocations: 55.53 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.3953, allocations: 97.84 kB / 1.287 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3953, allocations: 25.7 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.3954, allocations: 88.14 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.3954, allocations: 3.953 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.3954, allocations: 13.72 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3956, allocations: 314.8 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.3956, allocations: 19.97 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.3957, allocations: 15.98 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3959, allocations: 48.64 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3959, allocations: 0 / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.3961, allocations: 69.72 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3961, allocations: 4 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3961, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3961, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.36e-05/0.3962, allocations: 15.92 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3962, allocations: 0 / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3963, allocations: 4 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3963, allocations: 0 / 1.287 GB, free: 8.266 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 0.0001032/0.3964, allocations: 121.8 kB / 1.288 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.3964, allocations: 7.984 kB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.3966, allocations: 68.91 kB / 1.288 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3966, allocations: 4 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3966, allocations: 0 / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3966, allocations: 0 / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3968, allocations: 128.7 kB / 1.288 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3968, allocations: 3.984 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.3969, allocations: 8 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3969, allocations: 4.031 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3969, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3969, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3969, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3971, allocations: 167.4 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.3972, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.3972, allocations: 12.02 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.218e-05/0.3972, allocations: 4 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3973, allocations: 11.98 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3973, allocations: 0 / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.3973, allocations: 83.45 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3973, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000214/0.3975, allocations: 4 kB / 1.288 GB, free: 7.578 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.0006626/0.3982, allocations: 0.6929 MB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3984, allocations: 39.89 kB / 1.289 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3984, allocations: 4.094 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.539e-05/0.3985, allocations: 19.98 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3989, allocations: 9.656 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.3995, allocations: 143.8 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3999, allocations: 0.6729 MB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.948e-05/0.4, allocations: 4 kB / 1.29 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.4, allocations: 15.5 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.4, allocations: 0 / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.4219, allocations: 1.413 MB / 1.291 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.62, allocations: 18.42 kB / 1.291 GB, free: 4.602 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Asin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.82188053103164]