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.001474/0.001474, allocations: 105.9 kB / 17.54 MB, free: 4.758 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.001426/0.001426, allocations: 186.7 kB / 20.71 MB, free: 1.602 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] 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.362/2.362, allocations: 443.5 MB / 0.7304 GB, free: 13.94 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.001866/0.001866, allocations: 71.89 kB / 1.059 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 160.7 MB / 1.216 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001977/0.2578, allocations: 0.906 MB / 1.216 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.2589, allocations: 0.8896 MB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.9e-05/0.259, allocations: 4 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.568e-05/0.2591, allocations: 15.8 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.648e-05/0.2591, allocations: 11.86 kB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.2594, allocations: 63.92 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.2596, allocations: 139.7 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2597, allocations: 49.45 kB / 1.218 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.958e-05/0.2598, allocations: 51.84 kB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.2599, allocations: 63.69 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.2599, allocations: 12 kB / 1.218 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.2599, allocations: 12 kB / 1.218 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.26, allocations: 39.83 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.26, allocations: 55.67 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.2602, allocations: 139.6 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2602, allocations: 0 / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2602, allocations: 0 / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2602, allocations: 4 kB / 1.218 GB, free: 13.39 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.0006364/0.2609, allocations: 450.9 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.2609, allocations: 8.031 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.084e-05/0.2609, allocations: 46.73 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.261, allocations: 16.84 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.2612, allocations: 216.1 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.2612, allocations: 16.38 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.2613, allocations: 12.38 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.2616, allocations: 142.2 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2616, allocations: 3.938 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.2616, allocations: 11.94 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2616, allocations: 0 / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.2619, allocations: 135.8 kB / 1.219 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.2627, allocations: 0.4885 MB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.2629, allocations: 74.48 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.263, allocations: 44.83 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.263, allocations: 4 kB / 1.22 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.263, allocations: 34.75 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.263, allocations: 3.938 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004572/0.2635, allocations: 157.5 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.2635, allocations: 59.34 kB / 1.22 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.2637, allocations: 195.5 kB / 1.22 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2637, allocations: 25.7 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.2638, allocations: 120 kB / 1.22 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2638, allocations: 35.69 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.2639, allocations: 33.7 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.264, allocations: 318.8 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.2642, allocations: 47.97 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.2643, allocations: 39.98 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.2645, allocations: 96.56 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.2645, allocations: 3.938 kB / 1.221 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000305/0.2648, allocations: 145.5 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.2648, allocations: 8 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2648, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.2648, allocations: 0 / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.265, allocations: 23.98 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.265, allocations: 4 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.2651, allocations: 27.88 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2651, allocations: 4 kB / 1.221 GB, free: 10.15 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.316e-05/0.2652, allocations: 125.7 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.2652, allocations: 15.91 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/0.2656, allocations: 131 kB / 1.221 GB, free: 9.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2656, allocations: 4 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2656, allocations: 7.875 kB / 1.221 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2656, allocations: 3.984 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.2662, allocations: 452.9 kB / 1.222 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2662, allocations: 0 / 1.222 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.2663, allocations: 28.06 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2663, allocations: 0 / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2663, allocations: 7.938 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2663, allocations: 480 / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2663, allocations: 4 kB / 1.222 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.2666, allocations: 253.8 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.447e-05/0.2667, allocations: 100.9 kB / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2667, allocations: 0 / 1.222 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.2668, allocations: 23.97 kB / 1.222 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2669, allocations: 7.938 kB / 1.222 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2669, allocations: 4 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001186/0.267, allocations: 140.1 kB / 1.222 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.267, allocations: 4 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002405/0.2672, allocations: 24 kB / 1.222 GB, free: 8.715 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.0006969/0.2679, allocations: 0.7773 MB / 1.223 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002975/0.2682, allocations: 99.88 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2682, allocations: 0 / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.2684, allocations: 47.91 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.2687, allocations: 20.12 kB / 1.223 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.2708, allocations: 1.887 MB / 1.225 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.2711, allocations: 0.7084 MB / 1.226 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.845e-05/0.2712, allocations: 13.08 kB / 1.226 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.2713, allocations: 43.42 kB / 1.226 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of SimCode: time 3.81e-07/0.2713, allocations: 0 / 1.226 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.2951, allocations: 2.804 MB / 1.228 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.464, allocations: 17.02 kB / 1.228 GB, free: 2.238 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv. Warning: Get data of variable line1.u from file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.670010822999757]