Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 104.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.651/2.651, allocations: 443.5 MB / 0.7287 GB, free: 14.53 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002617/0.002617, allocations: 67.89 kB / 1.056 GB, free: 2.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3683, allocations: 160.7 MB / 1.213 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002207/0.3705, allocations: 0.8927 MB / 1.214 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3718, allocations: 0.8897 MB / 1.215 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.3719, allocations: 7.938 kB / 1.215 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.256e-05/0.3719, allocations: 11.86 kB / 1.215 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.037e-05/0.372, allocations: 11.81 kB / 1.215 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3723, allocations: 59.92 kB / 1.215 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.3725, allocations: 139.8 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3726, allocations: 49.41 kB / 1.215 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.3727, allocations: 47.84 kB / 1.215 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.3728, allocations: 71.61 kB / 1.215 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.3728, allocations: 16 kB / 1.215 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.3729, allocations: 12 kB / 1.215 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.3729, allocations: 31.91 kB / 1.215 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.3729, allocations: 55.67 kB / 1.215 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.3731, allocations: 143.6 kB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3731, allocations: 0 / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3731, allocations: 0 / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.3731, allocations: 0 / 1.215 GB, free: 14.99 MB / 0.9669 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.0007469/0.3739, allocations: 457.1 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3739, allocations: 8.031 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.374, allocations: 46.73 kB / 1.216 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.374, allocations: 16.84 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3744, allocations: 212.1 kB / 1.216 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.3744, allocations: 16.36 kB / 1.216 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.3744, allocations: 12.38 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.3747, allocations: 150.1 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3748, allocations: 3.938 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3748, allocations: 4 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.3748, allocations: 4 kB / 1.216 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003122/0.3751, allocations: 131.9 kB / 1.216 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.3759, allocations: 496.2 kB / 1.217 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.3761, allocations: 86.3 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.3763, allocations: 44.83 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3763, allocations: 4 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.3763, allocations: 30.56 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.3763, allocations: 4 kB / 1.217 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004658/0.3768, allocations: 161.7 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.3768, allocations: 51.41 kB / 1.217 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.377, allocations: 191.5 kB / 1.217 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.377, allocations: 29.7 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.3771, allocations: 116 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.3772, allocations: 43.67 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.3772, allocations: 29.7 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3774, allocations: 326.8 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3775, allocations: 43.97 kB / 1.218 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3776, allocations: 39.61 kB / 1.218 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.3778, allocations: 96.75 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.3778, allocations: 11.94 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003035/0.3781, allocations: 141.5 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.3782, allocations: 8 kB / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3782, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3782, allocations: 0 / 1.218 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.3783, allocations: 31.92 kB / 1.218 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3783, allocations: 3.984 kB / 1.218 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3784, allocations: 23.88 kB / 1.218 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3785, allocations: 0 / 1.218 GB, free: 11.74 MB / 0.9669 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 9.843e-05/0.3786, allocations: 125.8 kB / 1.218 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3786, allocations: 11.91 kB / 1.218 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3789, allocations: 139.3 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3789, allocations: 96 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3789, allocations: 3.938 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.379, allocations: 3.984 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.3796, allocations: 456.8 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3796, allocations: 4 kB / 1.219 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.3797, allocations: 23.97 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3797, allocations: 0 / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3797, allocations: 4.094 kB / 1.219 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3797, allocations: 7.938 kB / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3797, allocations: 0 / 1.219 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.3801, allocations: 249.9 kB / 1.219 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.545e-05/0.3802, allocations: 101 kB / 1.219 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3802, allocations: 0 / 1.219 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3803, allocations: 19.97 kB / 1.219 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.3804, allocations: 11.88 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3804, allocations: 4 kB / 1.219 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001437/0.3805, allocations: 148.1 kB / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6e-08/0.3805, allocations: 0 / 1.22 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002452/0.3808, allocations: 20 kB / 1.22 GB, free: 10.3 MB / 0.9669 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.0007433/0.3815, allocations: 0.7773 MB / 1.22 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000324/0.3818, allocations: 99.88 kB / 1.22 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3818, allocations: 0 / 1.22 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.382, allocations: 43.91 kB / 1.22 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3823, allocations: 24.19 kB / 1.22 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.3848, allocations: 1.898 MB / 1.222 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3851, allocations: 0.7084 MB / 1.223 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.052e-05/0.3852, allocations: 17.06 kB / 1.223 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.3853, allocations: 39.42 kB / 1.223 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of SimCode: time 6.42e-07/0.3853, allocations: 0 / 1.223 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.4109, allocations: 2.83 MB / 1.226 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.937/8.348, allocations: 3.547 kB / 1.226 GB, free: 3.805 MB / 0.9669 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.53710660384968]