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.0008063/0.0008063, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007904/0.0007904, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8957/0.8957, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.763/1.763, allocations: 377.9 MB / 0.6229 GB, free: 8.652 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.9823 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.689e-05, allocations: 5.234 kB / 0.9823 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002417/0.002454, allocations: 0.8583 MB / 0.9831 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.00391, allocations: 0.9094 MB / 0.984 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.004024, allocations: 7.938 kB / 0.984 GB, free: 224 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.853e-05/0.004082, allocations: 15.8 kB / 0.984 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.004174, allocations: 7.875 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.004438, allocations: 63.84 kB / 0.9841 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.004703, allocations: 147.7 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.004897, allocations: 41.58 kB / 0.9843 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.005064, allocations: 71.88 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.005259, allocations: 47.8 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.005306, allocations: 12 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.279e-05/0.005329, allocations: 12 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.005372, allocations: 35.89 kB / 0.9844 GB, free: 15.77 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.005426, allocations: 35.91 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.00565, allocations: 143.5 kB / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.005654, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/0.005656, allocations: 0 / 0.9846 GB, free: 15.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.005663, allocations: 4 kB / 0.9846 GB, free: 15.59 MB / 0.948 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.0006789/0.006341, allocations: 369.8 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.00639, allocations: 12.03 kB / 0.985 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.097e-05/0.006451, allocations: 20.78 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.006747, allocations: 161.5 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.006763, allocations: 8.375 kB / 0.9852 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.006787, allocations: 16.38 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000391/0.007178, allocations: 235.7 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.00719, allocations: 4.125 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.007211, allocations: 4.375 kB / 0.9854 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.00722, allocations: 4.375 kB / 0.9854 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.007503, allocations: 127.9 kB / 0.9855 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007337/0.008237, allocations: 380.1 kB / 0.9859 GB, free: 14.16 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.008433, allocations: 86.47 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.008539, allocations: 36.84 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.008566, allocations: 3.984 kB / 0.986 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.008599, allocations: 38.56 kB / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 2.765e-06/0.008602, allocations: 0 / 0.9861 GB, free: 13.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004636/0.009065, allocations: 157.6 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.009106, allocations: 55.41 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.009241, allocations: 148.5 kB / 0.9864 GB, free: 13.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.00926, allocations: 29.7 kB / 0.9864 GB, free: 13.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.009341, allocations: 115.9 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.009371, allocations: 39.69 kB / 0.9866 GB, free: 13.41 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.009433, allocations: 25.72 kB / 0.9866 GB, free: 13.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.009534, allocations: 318.8 kB / 0.9869 GB, free: 13.06 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.009659, allocations: 47.97 kB / 0.9869 GB, free: 13.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.885e-05/0.009757, allocations: 47.97 kB / 0.987 GB, free: 12.96 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.009973, allocations: 95.25 kB / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.009975, allocations: 0 / 0.9871 GB, free: 12.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002803/0.01026, allocations: 137.6 kB / 0.9872 GB, free: 12.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01028, allocations: 7.938 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01028, allocations: 0 / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.0103, allocations: 4.375 kB / 0.9872 GB, free: 12.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.01045, allocations: 35.91 kB / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.01045, allocations: 0 / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.01052, allocations: 8 kB / 0.9873 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.01053, allocations: 7.938 kB / 0.9873 GB, free: 12.67 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 9.476e-05/0.01063, allocations: 117.8 kB / 0.9874 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.01067, allocations: 11.95 kB / 0.9874 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.011, allocations: 142.2 kB / 0.9875 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.011, allocations: 7.938 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01101, allocations: 4 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.01101, allocations: 0 / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007188/0.01173, allocations: 376.6 kB / 0.9879 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.01174, allocations: 7.922 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.01184, allocations: 27.98 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.01184, allocations: 4 kB / 0.9879 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.01185, allocations: 96 / 0.9879 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.01186, allocations: 4 kB / 0.9879 GB, free: 11.92 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.01186, allocations: 4 kB / 0.988 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.01217, allocations: 241.9 kB / 0.9882 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/0.0122, allocations: 7.953 kB / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.01222, allocations: 0 / 0.9882 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.01234, allocations: 19.98 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.01239, allocations: 7.984 kB / 0.9882 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.0124, allocations: 7.938 kB / 0.9882 GB, free: 11.61 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.246e-05/0.01249, allocations: 115.2 kB / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01249, allocations: 0 / 0.9883 GB, free: 11.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003083/0.01279, allocations: 31.89 kB / 0.9884 GB, free: 11.46 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.0001507/0.01294, allocations: 95.25 kB / 0.9885 GB, free: 11.36 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002977/0.01324, allocations: 95.88 kB / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.01325, allocations: 0 / 0.9885 GB, free: 11.27 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.01336, allocations: 55.91 kB / 0.9886 GB, free: 11.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.01371, allocations: 14.94 kB / 0.9886 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.01427, allocations: 278.6 kB / 0.9889 GB, free: 10.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.955e-05/0.01436, allocations: 98.45 kB / 0.989 GB, free: 10.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.01442, allocations: 16.5 kB / 0.989 GB, free: 10.75 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/0.01442, allocations: 0 / 0.989 GB, free: 10.75 MB / 0.948 GB Notification: Performance of Templates: time 0.003263/0.01768, allocations: 1.458 MB / 0.9904 GB, free: 9.289 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.689475726336241]