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.001613/0.001613, allocations: 102.6 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.001942/0.001942, 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.499/1.499, 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.314/3.314, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002073/0.002073, allocations: 77.64 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4141, allocations: 176.1 MB / 1.321 GB, free: 3.238 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001863/0.4159, allocations: 0.6688 MB / 1.322 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.4169, allocations: 0.8164 MB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.417, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.417, allocations: 3.938 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.417, allocations: 3.938 kB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.4172, allocations: 15.97 kB / 1.322 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.935e-05/0.4173, allocations: 27.92 kB / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.112e-05/0.4173, allocations: 0 / 1.322 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.4174, allocations: 15.94 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.4174, allocations: 7.984 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.4174, allocations: 0 / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.203e-05/0.4175, allocations: 15.94 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.4175, allocations: 4 kB / 1.322 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.4175, allocations: 11.92 kB / 1.322 GB, free: 1.637 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.637e-05/0.4176, allocations: 28.17 kB / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4176, allocations: 0 / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4176, allocations: 0 / 1.322 GB, free: 1.609 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4176, allocations: 0 / 1.322 GB, free: 1.609 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.0004603/0.4181, allocations: 347.4 kB / 1.323 GB, free: 1.219 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4181, allocations: 11.98 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.4182, allocations: 34.75 kB / 1.323 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.4182, allocations: 4.938 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4184, allocations: 176.2 kB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.4184, allocations: 384 / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.4184, allocations: 4.375 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4185, allocations: 50.22 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.4186, allocations: 3.938 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.4186, allocations: 8 kB / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.4186, allocations: 0 / 1.323 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001709/0.4187, allocations: 27.97 kB / 1.323 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.4191, allocations: 248.9 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4192, allocations: 46.44 kB / 1.323 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.291e-05/0.4193, allocations: 20.91 kB / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.4193, allocations: 0 / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4193, allocations: 34.56 kB / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4193, allocations: 0 / 1.323 GB, free: 448 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003556/0.4197, allocations: 85.67 kB / 1.323 GB, free: 356 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.4197, allocations: 51.41 kB / 1.324 GB, free: 292 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.4198, allocations: 101.8 kB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.4198, allocations: 25.7 kB / 1.324 GB, free: 148 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.4199, allocations: 88.14 kB / 1.324 GB, free: 56 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.485e-05/0.4199, allocations: 3.953 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.4199, allocations: 9.719 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4201, allocations: 318.8 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.4202, allocations: 20.02 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.4202, allocations: 11.98 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.4204, allocations: 48.81 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4204, allocations: 3.938 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.4206, allocations: 69.67 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.4206, allocations: 4 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.4206, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4207, allocations: 0 / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.4207, allocations: 11.98 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.4207, allocations: 0 / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.118e-05/0.4208, allocations: 7.984 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.4208, allocations: 3.984 kB / 1.324 GB, free: 15.53 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 7.869e-05/0.4209, allocations: 120 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.4209, allocations: 3.953 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.4211, allocations: 72.72 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4212, allocations: 0 / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4212, allocations: 11.88 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4212, allocations: 0 / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.4213, allocations: 161.6 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4213, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.4214, allocations: 12.02 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.4214, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4214, allocations: 4 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4214, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4214, allocations: 0 / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.4217, allocations: 163.5 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.4217, allocations: 81.14 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.4217, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.4218, allocations: 7.984 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.4218, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.4218, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.4219, allocations: 83.45 kB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4219, allocations: 0 / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00022/0.4221, allocations: 7.938 kB / 1.325 GB, free: 14.71 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.0005828/0.4227, allocations: 0.7046 MB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002216/0.4229, allocations: 31.97 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4229, allocations: 4.094 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/0.423, allocations: 23.92 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4233, allocations: 9.859 kB / 1.326 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.4237, allocations: 135.7 kB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.424, allocations: 0.6768 MB / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.424, allocations: 64 / 1.326 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.424, allocations: 15.44 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4241, allocations: 0 / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02354/0.4476, allocations: 1.282 MB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.898/8.345, allocations: 4 kB / 1.328 GB, free: 11.82 MB / 1.029 GB " [Timeout remaining time 292] (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: 15.189191349083558]