Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.000843/0.000843, 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.0009318/0.0009318, 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.9076/0.9076, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.704/1.704, allocations: 377.9 MB / 0.6221 GB, free: 8.66 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.Log,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.375e-06/2.375e-06, allocations: 0 / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.206e-05, allocations: 9.172 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001266/0.001288, allocations: 0.6755 MB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000788/0.002076, allocations: 0.8393 MB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.441e-05/0.002111, allocations: 4 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.002136, allocations: 0 / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-05/0.002193, allocations: 3.938 kB / 0.9825 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.002384, allocations: 15.92 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.574e-05/0.00245, allocations: 23.92 kB / 0.9826 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.002539, allocations: 4 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.312e-05/0.002603, allocations: 15.98 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.026e-05/0.002633, allocations: 0 / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.002647, allocations: 4 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.262e-05/0.002689, allocations: 7.984 kB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.002708, allocations: 11.98 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.002727, allocations: 7.938 kB / 0.9826 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.866e-05/0.002826, allocations: 19.97 kB / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002828, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.613e-06/0.00283, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.002835, allocations: 0 / 0.9826 GB, free: 0.8672 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003269/0.003162, allocations: 262.3 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.003201, allocations: 8.031 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.86e-05/0.00323, allocations: 34.73 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.003291, allocations: 8.891 kB / 0.9829 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.022e-05/0.003362, allocations: 113.7 kB / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.003372, allocations: 4.375 kB / 0.983 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.003379, allocations: 384 / 0.983 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.003502, allocations: 50.23 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.003508, allocations: 192 / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.003515, allocations: 384 / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.003521, allocations: 4.125 kB / 0.9831 GB, free: 328 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.556e-05/0.003616, allocations: 35.95 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.003881, allocations: 216 kB / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.003971, allocations: 34.56 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.004017, allocations: 28.89 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.004034, allocations: 0 / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.004053, allocations: 38.5 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.004054, allocations: 7.875 kB / 0.9834 GB, free: 15.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002131/0.004267, allocations: 89.58 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.004295, allocations: 51.41 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.338e-05/0.004348, allocations: 101.8 kB / 0.9837 GB, free: 15.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.004358, allocations: 29.7 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.417e-05/0.004392, allocations: 88.08 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.004408, allocations: 3.953 kB / 0.9838 GB, free: 15.51 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.004432, allocations: 17.72 kB / 0.9838 GB, free: 15.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.004503, allocations: 310.8 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.004544, allocations: 11.98 kB / 0.9841 GB, free: 15.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.004581, allocations: 28.09 kB / 0.9841 GB, free: 15.13 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.13e-05/0.004662, allocations: 32.83 kB / 0.9842 GB, free: 15.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.004665, allocations: 4 kB / 0.9842 GB, free: 15.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.004767, allocations: 69.53 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.00478, allocations: 8 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.004784, allocations: 4.094 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004795, allocations: 0 / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.00486, allocations: 7.984 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.004864, allocations: 0 / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.187e-05/0.004886, allocations: 4 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.00489, allocations: 0 / 0.9843 GB, free: 15 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 (2): * Single equations (assignments): 2 * 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 5.171e-05/0.004942, allocations: 117.8 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.004956, allocations: 7.922 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.005085, allocations: 72.97 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.005087, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.005091, allocations: 0 / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005093, allocations: 3.938 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.00519, allocations: 124.8 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005191, allocations: 0 / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.00522, allocations: 8 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.005223, allocations: 7.922 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.005229, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.00523, allocations: 32 / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005231, allocations: 4 kB / 0.9846 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.005356, allocations: 163.5 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.005362, allocations: 3.938 kB / 0.9847 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.005371, allocations: 3.938 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.005408, allocations: 4 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.00544, allocations: 3.984 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.005443, allocations: 4 kB / 0.9848 GB, free: 14.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.005471, allocations: 83.28 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005471, allocations: 4.031 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001455/0.005616, allocations: 7.938 kB / 0.9849 GB, free: 14.31 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003143/0.005931, allocations: 0.6967 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.006053, allocations: 31.97 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006055, allocations: 8.094 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.006094, allocations: 15.92 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.006329, allocations: 11.98 kB / 0.9856 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.006641, allocations: 126.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.895e-05/0.00668, allocations: 55.36 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.981e-05/0.0067, allocations: 4 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.006732, allocations: 12.48 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/0.006732, allocations: 4.062 kB / 0.9858 GB, free: 13.26 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.02052, allocations: 1.952 MB / 0.9877 GB, free: 11.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.672/6.692, allocations: 13.16 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_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_Log.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable log1.u in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv. Warning: Get data of variable log1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.797722733579576]