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.001694/0.001694, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.002175/0.002175, allocations: 221.6 kB / 22.25 MB, free: 5.262 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.793 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.243/3.243, allocations: 0.49 GB / 0.7951 GB, free: 35.43 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.002036/0.002036, allocations: 67.58 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3904, allocations: 176.1 MB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002346/0.3927, allocations: 0.859 MB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.394, allocations: 0.9172 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.736e-05/0.3941, allocations: 4 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.3941, allocations: 11.81 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.116e-05/0.3942, allocations: 11.88 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3945, allocations: 67.89 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.3947, allocations: 139.7 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/0.3949, allocations: 49.64 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.395, allocations: 47.84 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.3951, allocations: 63.69 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.3951, allocations: 12 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.344e-05/0.3951, allocations: 12 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.3952, allocations: 31.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.296e-05/0.3952, allocations: 51.72 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.3954, allocations: 151.5 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3955, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3955, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3955, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 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.0007297/0.3962, allocations: 369.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3962, allocations: 8.031 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.797e-05/0.3963, allocations: 46.73 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.3963, allocations: 20.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.3966, allocations: 154.3 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.3967, allocations: 8.375 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.3967, allocations: 16.38 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.3971, allocations: 227.8 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3971, allocations: 3.938 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3971, allocations: 4 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3971, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.3974, allocations: 131.9 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.3982, allocations: 435.4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.3984, allocations: 78.48 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.3985, allocations: 48.95 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.3986, allocations: 7.938 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.3986, allocations: 34.56 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.3986, allocations: 4 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.0004858/0.3991, allocations: 157.5 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.3991, allocations: 51.41 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.3993, allocations: 195.5 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.3994, allocations: 29.7 kB / 1.33 GB, free: 12.84 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.3994, allocations: 120 kB / 1.33 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3995, allocations: 39.69 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.486e-05/0.3995, allocations: 25.7 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3997, allocations: 326.8 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3998, allocations: 43.97 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3999, allocations: 31.98 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.4002, allocations: 96.81 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4002, allocations: 7.875 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000333/0.4005, allocations: 150.9 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.4005, allocations: 8 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4005, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.4005, allocations: 0 / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4007, allocations: 27.98 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4007, allocations: 0 / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.4008, allocations: 19.88 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.4008, allocations: 0 / 1.331 GB, free: 11.93 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.000107/0.4009, allocations: 133.7 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.401, allocations: 15.89 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.4013, allocations: 143.3 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4013, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4013, allocations: 0 / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4013, allocations: 3.984 kB / 1.331 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006008/0.4019, allocations: 412.1 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4019, allocations: 3.938 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4021, allocations: 23.92 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4021, allocations: 4 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.4021, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4021, allocations: 0 / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4021, allocations: 4 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.4024, allocations: 245.9 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.4025, allocations: 15.91 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.4025, allocations: 8.016 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.4026, allocations: 15.98 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4027, allocations: 11.92 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.4027, allocations: 7.938 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001339/0.4028, allocations: 144.1 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4028, allocations: 0 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000249/0.4031, allocations: 23.98 kB / 1.332 GB, free: 10.64 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.0007173/0.4038, allocations: 0.7812 MB / 1.333 GB, free: 9.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.4041, allocations: 91.88 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4041, allocations: 0 / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4042, allocations: 55.97 kB / 1.333 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4045, allocations: 19.92 kB / 1.333 GB, free: 9.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.407, allocations: 1.881 MB / 1.335 GB, free: 7.68 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.4072, allocations: 102.7 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.807e-05/0.4072, allocations: 13.08 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.4073, allocations: 43.36 kB / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of SimCode: time 6.72e-07/0.4073, allocations: 0 / 1.335 GB, free: 7.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03013/0.4374, allocations: 3.446 MB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.57, allocations: 12.44 kB / 1.339 GB, free: 4.191 MB / 1.029 GB " [Timeout remaining time 288] (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: 18.44634265700006]