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.0008106/0.0008106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008675/0.0008675, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9336/0.9336, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.776/1.776, allocations: 377.8 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/2.057e-05, allocations: 6.281 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.00137/0.001391, allocations: 0.8538 MB / 0.9819 GB, free: 1.664 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.002279, allocations: 0.9171 MB / 0.9828 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.484e-05/0.002364, allocations: 4 kB / 0.9828 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.0024, allocations: 15.81 kB / 0.9828 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.002469, allocations: 7.922 kB / 0.9828 GB, free: 0.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.002664, allocations: 63.84 kB / 0.9829 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.002836, allocations: 139.7 kB / 0.983 GB, free: 0.5078 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.003149, allocations: 41.64 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.003261, allocations: 75.81 kB / 0.9831 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.003319, allocations: 43.86 kB / 0.9831 GB, free: 356 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.003349, allocations: 12 kB / 0.9832 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.721e-05/0.003367, allocations: 16 kB / 0.9832 GB, free: 328 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.707e-05/0.003394, allocations: 31.91 kB / 0.9832 GB, free: 296 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.003429, allocations: 43.83 kB / 0.9832 GB, free: 252 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.003581, allocations: 155.4 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003583, allocations: 0 / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003584, allocations: 0 / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.003589, allocations: 0 / 0.9834 GB, free: 96 kB / 0.9323 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.0004778/0.004066, allocations: 362 kB / 0.9837 GB, free: 15.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.004108, allocations: 12.03 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.004146, allocations: 42.75 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.00418, allocations: 24.83 kB / 0.9838 GB, free: 15.62 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.004371, allocations: 149.5 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.004385, allocations: 8.375 kB / 0.984 GB, free: 15.44 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.004401, allocations: 12.38 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.004662, allocations: 231.8 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.00467, allocations: 192 / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.004686, allocations: 8.375 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.004695, allocations: 12.11 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.004869, allocations: 123.9 kB / 0.9843 GB, free: 15.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.00541, allocations: 443.3 kB / 0.9848 GB, free: 14.56 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.00554, allocations: 74.55 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.005612, allocations: 44.77 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.005631, allocations: 8 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.005653, allocations: 38.5 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 9.22e-07/0.005654, allocations: 0 / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002969/0.005951, allocations: 153.7 kB / 0.9851 GB, free: 14.22 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.005981, allocations: 55.41 kB / 0.9851 GB, free: 14.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.006122, allocations: 196.6 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.006136, allocations: 29.7 kB / 0.9853 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.006197, allocations: 127.9 kB / 0.9854 GB, free: 13.78 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.006213, allocations: 31.75 kB / 0.9855 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.006253, allocations: 37.64 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.006332, allocations: 322.8 kB / 0.9858 GB, free: 13.38 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.006403, allocations: 39.97 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.006468, allocations: 41.86 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.006603, allocations: 92.81 kB / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006605, allocations: 0 / 0.986 GB, free: 13.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001825/0.006788, allocations: 156.1 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.0068, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006805, allocations: 0 / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006816, allocations: 4 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.841e-05/0.006914, allocations: 27.92 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.00692, allocations: 0 / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/0.006975, allocations: 23.83 kB / 0.9862 GB, free: 13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.006985, allocations: 4 kB / 0.9862 GB, free: 12.99 MB / 0.948 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 6.687e-05/0.007052, allocations: 121.8 kB / 0.9863 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.007072, allocations: 15.84 kB / 0.9863 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.007275, allocations: 143 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.007278, allocations: 4.453 kB / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.007282, allocations: 0 / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.007285, allocations: 0 / 0.9865 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.007639, allocations: 412 kB / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.00764, allocations: 0 / 0.9869 GB, free: 12.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-05/0.007693, allocations: 23.92 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.007695, allocations: 0 / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.007705, allocations: 8 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.007707, allocations: 0 / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.00771, allocations: 4 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.0079, allocations: 233.9 kB / 0.9871 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.007923, allocations: 39.86 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.007936, allocations: 0 / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.008007, allocations: 11.98 kB / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.008046, allocations: 11.98 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.008058, allocations: 4 kB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.843e-05/0.008136, allocations: 148 kB / 0.9873 GB, free: 11.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008137, allocations: 3.938 kB / 0.9873 GB, free: 11.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001663/0.008303, allocations: 24 kB / 0.9874 GB, free: 11.71 MB / 0.948 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.0003751/0.008678, allocations: 0.7695 MB / 0.9881 GB, free: 10.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.008865, allocations: 91.88 kB / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.008872, allocations: 0 / 0.9882 GB, free: 10.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.008942, allocations: 51.98 kB / 0.9882 GB, free: 10.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.009161, allocations: 16.11 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.01062, allocations: 1.908 MB / 0.9901 GB, free: 8.734 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.957e-05/0.01068, allocations: 102.8 kB / 0.9902 GB, free: 8.617 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.897e-05/0.01072, allocations: 13.14 kB / 0.9902 GB, free: 8.605 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.01078, allocations: 40.48 kB / 0.9903 GB, free: 8.566 MB / 0.948 GB Notification: Performance of SimCode: time 7.41e-07/0.01078, allocations: 0 / 0.9903 GB, free: 8.566 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.02761, allocations: 3.536 MB / 0.9937 GB, free: 5.184 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.71/6.738, allocations: 9.812 kB / 0.9937 GB, free: 5.184 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins/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] "Error: Could not read variable line1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.970812218263745]