Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001675/0.001675, allocations: 104.2 kB / 16.45 MB, free: 6.5 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.001481/0.001481, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.551/1.551, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.86/2.86, allocations: 476.7 MB / 0.7672 GB, free: 5.211 MB / 0.6231 GB " [Timeout remaining time 177] 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.Line,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_11_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.002087/0.002087, allocations: 67.89 kB / 1.112 GB, free: 1.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7914, allocations: 169.9 MB / 1.278 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002173/0.7935, allocations: 0.8966 MB / 1.279 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.7947, allocations: 0.9211 MB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.049e-05/0.7948, allocations: 3.938 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.7948, allocations: 15.86 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.7949, allocations: 11.88 kB / 1.28 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.7951, allocations: 59.91 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.7954, allocations: 147.7 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.7956, allocations: 43.72 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.7956, allocations: 55.78 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.895e-05/0.7957, allocations: 59.67 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.7958, allocations: 16 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.224e-05/0.7958, allocations: 12 kB / 1.281 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.7958, allocations: 27.92 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.361e-05/0.7959, allocations: 63.66 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.7961, allocations: 149.1 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7961, allocations: 0 / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7961, allocations: 0 / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.7961, allocations: 0 / 1.281 GB, free: 10.91 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007197/0.7968, allocations: 446.9 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7969, allocations: 8.031 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.519e-05/0.7969, allocations: 46.75 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.797, allocations: 16.84 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.7972, allocations: 220.1 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.7973, allocations: 8.375 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.7973, allocations: 20.36 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.7976, allocations: 154.7 kB / 1.282 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7976, allocations: 7.875 kB / 1.282 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.7977, allocations: 8 kB / 1.282 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.7977, allocations: 4 kB / 1.282 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.798, allocations: 127.9 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.7988, allocations: 484.2 kB / 1.282 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.799, allocations: 90.47 kB / 1.282 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.7992, allocations: 40.97 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.7992, allocations: 3.984 kB / 1.282 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.7992, allocations: 38.56 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.7992, allocations: 0 / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0004998/0.7997, allocations: 165.4 kB / 1.283 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.7998, allocations: 51.41 kB / 1.283 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.8, allocations: 192 kB / 1.283 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.8, allocations: 33.7 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.8001, allocations: 116 kB / 1.283 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.8001, allocations: 35.69 kB / 1.283 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.8002, allocations: 25.72 kB / 1.283 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.8003, allocations: 330.8 kB / 1.283 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.8005, allocations: 43.97 kB / 1.283 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.8006, allocations: 39.97 kB / 1.283 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.8008, allocations: 98.12 kB / 1.283 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8009, allocations: 3.938 kB / 1.283 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000333/0.8012, allocations: 145.6 kB / 1.284 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8012, allocations: 8 kB / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.8012, allocations: 0 / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.8012, allocations: 0 / 1.284 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.8014, allocations: 27.97 kB / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.8014, allocations: 0 / 1.284 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.8015, allocations: 15.89 kB / 1.284 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.8015, allocations: 4 kB / 1.284 GB, free: 7.676 MB / 0.9825 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.0001093/0.8016, allocations: 131 kB / 1.284 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.8017, allocations: 15.89 kB / 1.284 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003682/0.802, allocations: 146.9 kB / 1.284 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.802, allocations: 0 / 1.284 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.802, allocations: 0 / 1.284 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.802, allocations: 0 / 1.284 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.8027, allocations: 452.9 kB / 1.284 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8027, allocations: 4 kB / 1.284 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.8028, allocations: 24.39 kB / 1.284 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8028, allocations: 0 / 1.284 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.8028, allocations: 8 kB / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8028, allocations: 0 / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8028, allocations: 0 / 1.284 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.8032, allocations: 249.9 kB / 1.285 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.8032, allocations: 101 kB / 1.285 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.8033, allocations: 4 kB / 1.285 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.8034, allocations: 15.98 kB / 1.285 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.8035, allocations: 15.92 kB / 1.285 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.8035, allocations: 4 kB / 1.285 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001282/0.8036, allocations: 141.2 kB / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8036, allocations: 0 / 1.285 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002534/0.8039, allocations: 27.94 kB / 1.285 GB, free: 6.23 MB / 0.9825 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.0007174/0.8046, allocations: 0.779 MB / 1.286 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.8049, allocations: 99.2 kB / 1.286 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8049, allocations: 4 kB / 1.286 GB, free: 5.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.805, allocations: 43.91 kB / 1.286 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.8053, allocations: 27.86 kB / 1.286 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.808, allocations: 1.885 MB / 1.288 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.8084, allocations: 0.7084 MB / 1.288 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.618e-05/0.8084, allocations: 17.06 kB / 1.288 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.8085, allocations: 43.42 kB / 1.288 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of SimCode: time 5.41e-07/0.8085, allocations: 0 / 1.288 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.8348, allocations: 2.83 MB / 1.291 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.888, allocations: 8.547 kB / 1.291 GB, free: 15.73 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable line1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.19166928390041]