Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001866/0.001866, allocations: 104.7 kB / 16.45 MB, free: 6.453 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.002307/0.002307, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.502/1.502, allocations: 230.6 MB / 252.8 MB, free: 8.934 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.221/3.221, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.002034/0.002034, allocations: 72.97 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3585, allocations: 176.1 MB / 1.321 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002439/0.361, allocations: 0.8999 MB / 1.322 GB, free: 2.367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.3623, allocations: 0.9172 MB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.3624, allocations: 7.938 kB / 1.323 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.159e-05/0.3624, allocations: 15.8 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.807e-05/0.3625, allocations: 7.875 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.3628, allocations: 59.92 kB / 1.323 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.363, allocations: 143.8 kB / 1.323 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.3632, allocations: 49.41 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.395e-05/0.3633, allocations: 47.8 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.968e-05/0.3634, allocations: 63.67 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.028e-05/0.3634, allocations: 12 kB / 1.323 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 2.541e-05/0.3634, allocations: 16 kB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.3635, allocations: 31.91 kB / 1.323 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.641e-05/0.3635, allocations: 59.66 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3637, allocations: 139.6 kB / 1.323 GB, free: 0.7891 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.3637, allocations: 7.922 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3637, allocations: 4 kB / 1.323 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.3638, allocations: 0 / 1.323 GB, free: 0.7773 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007627/0.3645, allocations: 444.4 kB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.3646, allocations: 19.92 kB / 1.324 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.334e-05/0.3646, allocations: 46.73 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.3647, allocations: 20.84 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.365, allocations: 212.3 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.365, allocations: 12.31 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.3651, allocations: 12.38 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.3654, allocations: 146.2 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.3654, allocations: 7.938 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3654, allocations: 4 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.3654, allocations: 4 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003249/0.3658, allocations: 127.9 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.3666, allocations: 492.1 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.3668, allocations: 90.41 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3669, allocations: 44.83 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.367, allocations: 0 / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.367, allocations: 34.56 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.367, allocations: 0 / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0005359/0.3675, allocations: 161.7 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3676, allocations: 55.41 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3678, allocations: 187.5 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3678, allocations: 29.7 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.3679, allocations: 127.9 kB / 1.325 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.3679, allocations: 35.64 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.578e-05/0.368, allocations: 25.7 kB / 1.326 GB, free: 14.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3681, allocations: 326.8 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.3682, allocations: 39.97 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3684, allocations: 48.28 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.3686, allocations: 92.83 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3686, allocations: 3.938 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003418/0.369, allocations: 146.3 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.369, allocations: 7.938 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.369, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.369, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3692, allocations: 27.92 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3692, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3693, allocations: 15.88 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3693, allocations: 8 kB / 1.326 GB, free: 13.54 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 (13): * Single equations (assignments): 13 * 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.0001087/0.3694, allocations: 117.8 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.3694, allocations: 15.91 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/0.3698, allocations: 147 kB / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3698, allocations: 0 / 1.326 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3698, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3698, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.3705, allocations: 456.8 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3705, allocations: 0 / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3707, allocations: 19.98 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3707, allocations: 4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.3707, allocations: 4 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3707, allocations: 4 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3707, allocations: 4 kB / 1.327 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.3711, allocations: 245.9 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.3712, allocations: 92.95 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.3712, allocations: 11.98 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3713, allocations: 15.92 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.3714, allocations: 11.94 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.3714, allocations: 11.98 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001528/0.3715, allocations: 145.2 kB / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.327 GB, free: 12.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002462/0.3718, allocations: 23.94 kB / 1.327 GB, free: 12.1 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0008151/0.3726, allocations: 0.7814 MB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3729, allocations: 91.88 kB / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3729, allocations: 0 / 1.328 GB, free: 11.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3731, allocations: 51.91 kB / 1.328 GB, free: 11.14 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3734, allocations: 15.94 kB / 1.328 GB, free: 11.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002468/0.3759, allocations: 1.885 MB / 1.33 GB, free: 9.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.3763, allocations: 0.7161 MB / 1.331 GB, free: 8.402 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.73e-05/0.3763, allocations: 13.08 kB / 1.331 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.3764, allocations: 43.42 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3764, allocations: 0 / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02558/0.402, allocations: 2.832 MB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.622, allocations: 14.86 kB / 1.334 GB, free: 5.598 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.333825410809368]