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.001876/0.001876, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002588/0.002588, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.898/2.898, allocations: 476.8 MB / 0.7715 GB, free: 3.852 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.002099/0.002099, allocations: 63.34 kB / 1.118 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3512, allocations: 169.9 MB / 1.284 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Asin): time 0.002069/0.3533, allocations: 0.671 MB / 1.285 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3544, allocations: 0.8125 MB / 1.286 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.431e-05/0.3545, allocations: 0 / 1.286 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.3545, allocations: 4 kB / 1.286 GB, free: 1.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.3546, allocations: 11.86 kB / 1.286 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3548, allocations: 11.98 kB / 1.286 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.3549, allocations: 27.92 kB / 1.286 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.355, allocations: 0 / 1.286 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.3551, allocations: 8 kB / 1.286 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.3551, allocations: 15.92 kB / 1.286 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.3552, allocations: 0 / 1.286 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.843e-05/0.3552, allocations: 4 kB / 1.286 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.3552, allocations: 15.92 kB / 1.286 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.3553, allocations: 7.922 kB / 1.286 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3554, allocations: 32.19 kB / 1.286 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3554, allocations: 0 / 1.286 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3554, allocations: 0 / 1.286 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.3554, allocations: 3.938 kB / 1.286 GB, free: 1.664 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.0005042/0.3559, allocations: 262.3 kB / 1.286 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.356, allocations: 8.031 kB / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.719e-05/0.356, allocations: 192 / 1.286 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.607e-05/0.356, allocations: 34.75 kB / 1.286 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.3561, allocations: 0.9375 kB / 1.286 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.3563, allocations: 110.5 kB / 1.286 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3563, allocations: 4.375 kB / 1.286 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3563, allocations: 384 / 1.286 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3565, allocations: 53.98 kB / 1.286 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3565, allocations: 0 / 1.286 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3565, allocations: 3.938 kB / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3565, allocations: 0 / 1.286 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.3567, allocations: 35.91 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.3571, allocations: 223.9 kB / 1.286 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3572, allocations: 38.56 kB / 1.286 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/0.3573, allocations: 24.91 kB / 1.286 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.3573, allocations: 3.984 kB / 1.286 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3574, allocations: 38.48 kB / 1.287 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3574, allocations: 0 / 1.287 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.3577, allocations: 81.75 kB / 1.287 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.3578, allocations: 55.39 kB / 1.287 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.726e-05/0.3579, allocations: 97.86 kB / 1.287 GB, free: 456 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.3579, allocations: 29.7 kB / 1.287 GB, free: 420 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3579, allocations: 80.14 kB / 1.287 GB, free: 336 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.358, allocations: 3.953 kB / 1.287 GB, free: 332 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.358, allocations: 17.7 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3582, allocations: 314.8 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.3583, allocations: 11.98 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.3584, allocations: 27.95 kB / 1.287 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3585, allocations: 44.75 kB / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3585, allocations: 0 / 1.287 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001975/0.3587, allocations: 57.67 kB / 1.287 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3587, allocations: 8 kB / 1.287 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3587, allocations: 3.984 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3588, allocations: 8.031 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.367e-05/0.3588, allocations: 4 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3589, allocations: 4 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3589, allocations: 3.984 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3589, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 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.887e-05/0.359, allocations: 113.8 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.359, allocations: 11.89 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.3592, allocations: 72.97 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3592, allocations: 3.984 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3593, allocations: 0 / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3593, allocations: 0 / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3594, allocations: 132.7 kB / 1.288 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3594, allocations: 0 / 1.288 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.3595, allocations: 7.984 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3595, allocations: 0 / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3595, allocations: 0 / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3595, allocations: 0 / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3595, allocations: 4.031 kB / 1.288 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3598, allocations: 171.4 kB / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.3598, allocations: 0 / 1.288 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.3598, allocations: 7.922 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.75e-05/0.3599, allocations: 4 kB / 1.288 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.3599, allocations: 11.98 kB / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.3599, allocations: 0 / 1.288 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.73e-05/0.36, allocations: 79.28 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.36, allocations: 0 / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002277/0.3602, allocations: 8.031 kB / 1.288 GB, free: 15.11 MB / 0.9981 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.000601/0.3608, allocations: 0.6889 MB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.361, allocations: 39.95 kB / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.361, allocations: 0 / 1.289 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.3611, allocations: 24.08 kB / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3614, allocations: 0 / 1.289 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004723/0.3619, allocations: 143.9 kB / 1.289 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.499e-05/0.3619, allocations: 59.34 kB / 1.289 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.362, allocations: 7.875 kB / 1.289 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.362, allocations: 15.44 kB / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of SimCode: time 3.51e-07/0.362, allocations: 0 / 1.289 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3837, allocations: 1.465 MB / 1.29 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.92, allocations: 14.44 kB / 1.29 GB, free: 12.73 MB / 0.9981 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.821059683104977]