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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 190 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 76.98 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4098, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.002348/0.4122, allocations: 0.95 MB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.4133, allocations: 0.8974 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.4134, allocations: 3.938 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.4135, allocations: 7.922 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.4136, allocations: 7.938 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.4138, allocations: 51.95 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.414, allocations: 131.7 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.4142, allocations: 65.44 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.032e-05/0.4143, allocations: 47.8 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.4144, allocations: 67.69 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.4144, allocations: 12 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.073e-05/0.4145, allocations: 12 kB / 1.07 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.578e-05/0.4145, allocations: 39.89 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.4146, allocations: 55.66 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.4147, allocations: 127.5 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4147, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4148, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.4148, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 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.0006351/0.4154, allocations: 447.4 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.4154, allocations: 8.031 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.4155, allocations: 16.75 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4157, allocations: 212 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.4157, allocations: 12.38 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.4158, allocations: 12.38 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.4161, allocations: 142.7 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.4161, allocations: 4.188 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.4162, allocations: 15.88 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4162, allocations: 3.984 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.4165, allocations: 127.9 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007848/0.4173, allocations: 0.4883 MB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.4175, allocations: 82.48 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.4176, allocations: 52.89 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.4177, allocations: 0 / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.4177, allocations: 38.5 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 9.32e-07/0.4177, allocations: 8 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0004572/0.4182, allocations: 157.4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4182, allocations: 51.41 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.4184, allocations: 191.5 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4185, allocations: 29.7 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.4185, allocations: 116 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.4186, allocations: 35.45 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.4187, allocations: 33.7 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4188, allocations: 322.8 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.4189, allocations: 35.98 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.4191, allocations: 43.97 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.4193, allocations: 100.4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4193, allocations: 4 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003113/0.4196, allocations: 149.4 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4197, allocations: 4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4197, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4197, allocations: 0 / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4199, allocations: 23.98 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4199, allocations: 4 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.42, allocations: 15.83 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.42, allocations: 12 kB / 1.073 GB, free: 5.07 MB / 0.8262 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.67e-05/0.4201, allocations: 125.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.4202, allocations: 15.81 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.4205, allocations: 139 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4205, allocations: 480 / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4205, allocations: 4 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4205, allocations: 3.984 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.4211, allocations: 444.9 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4211, allocations: 0 / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.4212, allocations: 27.86 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.4212, allocations: 7.984 kB / 1.074 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4213, allocations: 4.094 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.4213, allocations: 12 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4213, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.4216, allocations: 245.8 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.4217, allocations: 100.8 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4217, allocations: 8 kB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.4218, allocations: 11.98 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.4219, allocations: 15.92 kB / 1.074 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.4219, allocations: 4 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001052/0.422, allocations: 145.2 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.422, allocations: 0 / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002421/0.4223, allocations: 20 kB / 1.074 GB, free: 3.637 MB / 0.8262 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.0001654/0.4224, allocations: 107.2 kB / 1.074 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.4227, allocations: 99.88 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4228, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.4229, allocations: 51.91 kB / 1.075 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.4233, allocations: 17.88 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.4239, allocations: 301.3 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.4242, allocations: 0.7045 MB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.55e-05/0.4242, allocations: 13.08 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.4243, allocations: 19.44 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4243, allocations: 0 / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.003627/0.4279, allocations: 1.094 MB / 1.077 GB, free: 1.176 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches