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.001334/0.001334, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001572/0.001572, allocations: 214.7 kB / 22.25 MB, free: 5.082 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8 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.391/3.391, allocations: 0.49 GB / 0.7951 GB, free: 33.28 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.002103/0.002103, allocations: 61.97 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4059, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002133/0.4081, allocations: 0.6744 MB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.4091, allocations: 0.8241 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.4092, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.4092, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.4092, allocations: 3.938 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.4094, allocations: 15.97 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.4095, allocations: 27.86 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.534e-05/0.4096, allocations: 8 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.4097, allocations: 7.984 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.414e-05/0.4097, allocations: 11.94 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4097, allocations: 4 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.111e-05/0.4098, allocations: 8 kB / 1.327 GB, free: 252 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.4098, allocations: 11.98 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.4098, allocations: 11.92 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.4099, allocations: 24.19 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4099, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4099, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.41, allocations: 3.938 kB / 1.328 GB, free: 200 kB / 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.0004813/0.4104, allocations: 267.8 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.4105, allocations: 15.97 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.4105, allocations: 30.75 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.4106, allocations: 4.938 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.4107, allocations: 110.5 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4107, allocations: 384 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-06/0.4107, allocations: 4.375 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.4109, allocations: 50.23 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4109, allocations: 3.938 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.4109, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4109, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.4111, allocations: 35.91 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.4114, allocations: 223.9 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.4116, allocations: 38.5 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.967e-05/0.4117, allocations: 20.91 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4117, allocations: 0 / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.4117, allocations: 34.56 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 3.186e-06/0.4117, allocations: 3.984 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004113/0.4121, allocations: 81.58 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4122, allocations: 55.53 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/0.4123, allocations: 105.8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4123, allocations: 25.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.4124, allocations: 84.14 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.4124, allocations: 3.953 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.4124, allocations: 13.72 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4126, allocations: 314.8 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.672e-05/0.4127, allocations: 19.98 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.4128, allocations: 15.98 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.4129, allocations: 44.75 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4129, allocations: 3.938 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.4131, allocations: 61.73 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4131, allocations: 8.031 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4131, allocations: 4 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4132, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.4132, allocations: 7.984 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4132, allocations: 0 / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.4133, allocations: 11.92 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.4133, allocations: 0 / 1.329 GB, free: 14.32 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 8.878e-05/0.4134, allocations: 116.7 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.4134, allocations: 7.953 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.4137, allocations: 76.91 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.4137, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4137, allocations: 0 / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4137, allocations: 3.938 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.4138, allocations: 132.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4138, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-05/0.4139, allocations: 11.98 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4139, allocations: 4.031 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4139, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4139, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4139, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.4142, allocations: 167.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-06/0.4142, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.4142, allocations: 8.031 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.4143, allocations: 7.984 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.4143, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4143, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.885e-05/0.4143, allocations: 83.28 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4143, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002136/0.4146, allocations: 4 kB / 1.33 GB, free: 13.63 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.0005836/0.4151, allocations: 0.6967 MB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.4153, allocations: 39.91 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4153, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.114e-05/0.4154, allocations: 24.08 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.4157, allocations: 3.984 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.4161, allocations: 131.9 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4165, allocations: 0.6768 MB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.4165, allocations: 0 / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.4165, allocations: 15.44 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4165, allocations: 4.062 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.4461, allocations: 1.393 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.68, allocations: 10.69 kB / 1.333 GB, free: 10.68 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.737401419086382]