Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.9 MB, free: 3.254 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 489.7 MB / 0.7761 GB, free: 2.422 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=503,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=503,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.89 kB / 1.127 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8892, allocations: 172 MB / 1.295 GB, free: 38.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001857/0.8911, allocations: 0.8974 MB / 1.296 GB, free: 38.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.8919, allocations: 0.8953 MB / 1.297 GB, free: 37.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.8919, allocations: 2.656 kB / 1.297 GB, free: 37.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.892, allocations: 11.81 kB / 1.297 GB, free: 37.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.164e-05/0.892, allocations: 14.16 kB / 1.297 GB, free: 37.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.8922, allocations: 60.83 kB / 1.297 GB, free: 37.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.8924, allocations: 144.2 kB / 1.297 GB, free: 37.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.8926, allocations: 45.17 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.057e-05/0.8926, allocations: 47.97 kB / 1.297 GB, free: 37.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.8927, allocations: 67.66 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.8927, allocations: 11.62 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.888e-05/0.8927, allocations: 17.84 kB / 1.297 GB, free: 37.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.8928, allocations: 33.14 kB / 1.297 GB, free: 37.2 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.995e-05/0.8928, allocations: 57.58 kB / 1.297 GB, free: 37.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.8929, allocations: 140.6 kB / 1.297 GB, free: 37.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.8929, allocations: 0 / 1.297 GB, free: 37.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8929, allocations: 3.938 kB / 1.297 GB, free: 37.11 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.8929, allocations: 0 / 1.297 GB, free: 37.11 MB / 1.061 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.0005219/0.8935, allocations: 449 kB / 1.298 GB, free: 36.69 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.8935, allocations: 8.688 kB / 1.298 GB, free: 36.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.8935, allocations: 20.73 kB / 1.298 GB, free: 36.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.8937, allocations: 212.2 kB / 1.298 GB, free: 36.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.8937, allocations: 14.09 kB / 1.298 GB, free: 36.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.8938, allocations: 13 kB / 1.298 GB, free: 36.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.894, allocations: 146.9 kB / 1.298 GB, free: 36.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.894, allocations: 10.34 kB / 1.298 GB, free: 36.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.8941, allocations: 11.88 kB / 1.298 GB, free: 36.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8941, allocations: 2.781 kB / 1.298 GB, free: 36.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/0.8943, allocations: 121.9 kB / 1.298 GB, free: 36.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.8949, allocations: 497.6 kB / 1.299 GB, free: 35.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.8951, allocations: 84 kB / 1.299 GB, free: 35.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.8952, allocations: 47.12 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.8952, allocations: 6.703 kB / 1.299 GB, free: 35.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.8952, allocations: 30.56 kB / 1.299 GB, free: 35.85 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.8952, allocations: 0 / 1.299 GB, free: 35.85 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0004016/0.8956, allocations: 164 kB / 1.299 GB, free: 35.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.8956, allocations: 51.41 kB / 1.299 GB, free: 35.71 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.8958, allocations: 195.3 kB / 1.299 GB, free: 35.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.8958, allocations: 25.7 kB / 1.299 GB, free: 35.54 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.8958, allocations: 124.1 kB / 1.299 GB, free: 35.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.8958, allocations: 36.69 kB / 1.299 GB, free: 35.4 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.8959, allocations: 27.75 kB / 1.299 GB, free: 35.37 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.8959, allocations: 326.8 kB / 1.3 GB, free: 35.05 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.8961, allocations: 40.06 kB / 1.3 GB, free: 35.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.8962, allocations: 44.17 kB / 1.3 GB, free: 35.03 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.8964, allocations: 95.5 kB / 1.3 GB, free: 34.99 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8964, allocations: 0 / 1.3 GB, free: 34.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000272/0.8966, allocations: 147 kB / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.8967, allocations: 9.172 kB / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.8967, allocations: 0 / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.8967, allocations: 0 / 1.3 GB, free: 34.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.8969, allocations: 28.3 kB / 1.3 GB, free: 34.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.8969, allocations: 0 / 1.3 GB, free: 34.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.8969, allocations: 21 kB / 1.3 GB, free: 34.9 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.897, allocations: 7.094 kB / 1.3 GB, free: 34.9 MB / 1.061 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 7.41e-05/0.897, allocations: 127.2 kB / 1.3 GB, free: 34.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.902e-05/0.8971, allocations: 15.59 kB / 1.3 GB, free: 34.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000307/0.8974, allocations: 140.6 kB / 1.3 GB, free: 34.69 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8974, allocations: 480 / 1.3 GB, free: 34.69 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8974, allocations: 7.359 kB / 1.3 GB, free: 34.68 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.8974, allocations: 2.438 kB / 1.3 GB, free: 34.68 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.8979, allocations: 463.4 kB / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8979, allocations: 0 / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/0.898, allocations: 24.45 kB / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.898, allocations: 5.844 kB / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.898, allocations: 0 / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.898, allocations: 2.938 kB / 1.301 GB, free: 34.29 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.898, allocations: 4.094 kB / 1.301 GB, free: 34.28 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.8983, allocations: 242.6 kB / 1.301 GB, free: 34.09 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.8983, allocations: 94.2 kB / 1.301 GB, free: 33.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8983, allocations: 7 kB / 1.301 GB, free: 33.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.8984, allocations: 23.45 kB / 1.301 GB, free: 33.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.8985, allocations: 10.42 kB / 1.301 GB, free: 33.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.8985, allocations: 3.031 kB / 1.301 GB, free: 33.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.841e-05/0.8986, allocations: 142.2 kB / 1.301 GB, free: 33.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.8986, allocations: 0 / 1.301 GB, free: 33.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002517/0.8989, allocations: 23.84 kB / 1.301 GB, free: 33.87 MB / 1.061 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.0001787/0.899, allocations: 108.4 kB / 1.302 GB, free: 33.78 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002898/0.8993, allocations: 92.09 kB / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8993, allocations: 0 / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.8994, allocations: 48.77 kB / 1.302 GB, free: 33.74 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.8998, allocations: 19.44 kB / 1.302 GB, free: 33.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.9003, allocations: 290.6 kB / 1.302 GB, free: 33.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.9004, allocations: 0.7042 MB / 1.303 GB, free: 32.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.9005, allocations: 22.72 kB / 1.303 GB, free: 32.79 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.9005, allocations: 0 / 1.303 GB, free: 32.79 MB / 1.061 GB Notification: Performance of Templates: time 0.002822/0.9033, allocations: 1.569 MB / 1.304 GB, free: 32.65 MB / 1.061 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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