Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009948/0.009948, allocations: 102 kB / 15.73 MB, free: 6.039 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.001833/0.001833, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.56/1.56, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 71.88 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268/1.269, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.003511/1.273, allocations: 0.8997 MB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00178/1.275, allocations: 0.8863 MB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/1.275, allocations: 2.219 kB / 1.09 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/1.275, allocations: 14.44 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/1.275, allocations: 8.844 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/1.276, allocations: 67.42 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003143/1.276, allocations: 138.9 kB / 1.09 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/1.276, allocations: 57.94 kB / 1.09 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/1.276, allocations: 51.61 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/1.276, allocations: 67.36 kB / 1.09 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/1.276, allocations: 16.75 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.65e-05/1.277, allocations: 13.06 kB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/1.277, allocations: 27.12 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/1.277, allocations: 61.48 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002934/1.277, allocations: 138.9 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/1.277, allocations: 0.5625 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.31e-06/1.277, allocations: 0 / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.155e-05/1.277, allocations: 1.062 kB / 1.09 GB, free: 3.918 MB / 0.8575 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.0008728/1.278, allocations: 448.4 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.278, allocations: 9.344 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.641e-05/1.278, allocations: 21.7 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/1.278, allocations: 209.2 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/1.278, allocations: 10.09 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/1.278, allocations: 12.66 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/1.279, allocations: 150.6 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/1.279, allocations: 1.312 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/1.279, allocations: 9.094 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/1.279, allocations: 3.5 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/1.279, allocations: 128.4 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009782/1.28, allocations: 0.4907 MB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/1.281, allocations: 86.11 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/1.281, allocations: 49.11 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/1.281, allocations: 3.328 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.281, allocations: 35.31 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 3.386e-06/1.281, allocations: 5.094 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005508/1.282, allocations: 157.3 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/1.282, allocations: 53.91 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/1.282, allocations: 187.1 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/1.282, allocations: 31.41 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/1.282, allocations: 113.5 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/1.282, allocations: 43.11 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/1.282, allocations: 27.69 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/1.282, allocations: 326.2 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/1.282, allocations: 49.89 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/1.282, allocations: 40.73 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/1.283, allocations: 90.7 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.283, allocations: 4 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003631/1.283, allocations: 140.6 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.283, allocations: 6.453 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.283, allocations: 0 / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/1.283, allocations: 4.969 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/1.283, allocations: 28.81 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/1.283, allocations: 0.9062 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/1.283, allocations: 24.09 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/1.283, allocations: 7.828 kB / 1.093 GB, free: 1.711 MB / 0.8575 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 0.0001087/1.284, allocations: 123.1 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/1.284, allocations: 11.22 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/1.284, allocations: 144.7 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.284, allocations: 1.469 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.284, allocations: 0.8125 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.284, allocations: 1.266 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/1.285, allocations: 452.9 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.285, allocations: 5.906 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.285, allocations: 20.17 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/1.285, allocations: 2.375 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/1.285, allocations: 2.172 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/1.285, allocations: 5.469 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.285, allocations: 5.062 kB / 1.094 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/1.285, allocations: 246 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/1.285, allocations: 95.47 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/1.285, allocations: 3.438 kB / 1.094 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/1.286, allocations: 21.09 kB / 1.094 GB, free: 0.8047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/1.286, allocations: 10.62 kB / 1.094 GB, free: 0.8008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/1.286, allocations: 8.891 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001439/1.286, allocations: 146.3 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.286, allocations: 0 / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004094/1.286, allocations: 26.66 kB / 1.095 GB, free: 0.6914 MB / 0.8575 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.000194/1.287, allocations: 104.3 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003655/1.287, allocations: 102.8 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.287, allocations: 0 / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/1.287, allocations: 52.41 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/1.287, allocations: 16.12 kB / 1.095 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/1.288, allocations: 247.3 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004408/1.289, allocations: 0.7102 MB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.962e-05/1.289, allocations: 13.47 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/1.289, allocations: 16.91 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/1.289, allocations: 0 / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.005773/1.295, allocations: 1.205 MB / 1.097 GB, free: 15.53 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches