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.001217/0.001217, allocations: 105.4 kB / 16.27 MB, free: 6.414 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.001232/0.001232, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.666/2.666, allocations: 482.4 MB / 0.7553 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 67.86 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7081/0.7099, allocations: 162.2 MB / 1.083 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001949/0.7119, allocations: 0.8806 MB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008795/0.7128, allocations: 0.8864 MB / 1.085 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.7128, allocations: 6.375 kB / 1.085 GB, free: 408 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.7129, allocations: 14.2 kB / 1.085 GB, free: 396 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.713, allocations: 9.5 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.7131, allocations: 65.22 kB / 1.085 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.7133, allocations: 130.3 kB / 1.085 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.7135, allocations: 63.09 kB / 1.085 GB, free: 260 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.118e-05/0.7136, allocations: 46.53 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.7137, allocations: 63.45 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.7137, allocations: 17.31 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.46e-05/0.7137, allocations: 12.78 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.612e-05/0.7138, allocations: 34.58 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.7138, allocations: 61.19 kB / 1.085 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.714, allocations: 134.2 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.714, allocations: 0.6094 kB / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of FrontEnd: time 8.72e-07/0.714, allocations: 0 / 1.085 GB, free: 72 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.714, allocations: 1.156 kB / 1.085 GB, free: 72 kB / 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.0006435/0.7147, allocations: 444.5 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.7147, allocations: 10.47 kB / 1.086 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.7148, allocations: 19.66 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.715, allocations: 214.4 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.715, allocations: 18.56 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.7151, allocations: 11.66 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.7154, allocations: 146.9 kB / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.7154, allocations: 192 / 1.086 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.7154, allocations: 15.02 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7155, allocations: 2.781 kB / 1.086 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.7158, allocations: 124.5 kB / 1.086 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.7166, allocations: 494.3 kB / 1.087 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.7168, allocations: 90.23 kB / 1.087 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.717, allocations: 45.72 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.717, allocations: 1.906 kB / 1.087 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.717, allocations: 36.66 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.7171, allocations: 1 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0004833/0.7175, allocations: 161.4 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.7176, allocations: 52.97 kB / 1.087 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.7178, allocations: 188 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.7178, allocations: 30.95 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.7179, allocations: 105.6 kB / 1.087 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.718, allocations: 42.41 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.449e-05/0.718, allocations: 27.91 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7182, allocations: 327.5 kB / 1.088 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.7183, allocations: 45.28 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.7185, allocations: 42.02 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.7187, allocations: 89.39 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7187, allocations: 1.438 kB / 1.088 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003277/0.7191, allocations: 152.2 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7191, allocations: 4.875 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7191, allocations: 0.5625 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7191, allocations: 1.344 kB / 1.088 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.7193, allocations: 32.16 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7193, allocations: 1.438 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.7194, allocations: 24.92 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.7194, allocations: 3.031 kB / 1.088 GB, free: 13.87 MB / 0.8419 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.794e-05/0.7195, allocations: 127.6 kB / 1.088 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.7196, allocations: 19.47 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.7199, allocations: 140.4 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.72, allocations: 1.188 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.72, allocations: 1.062 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.72, allocations: 0.75 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006411/0.7206, allocations: 453.6 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7206, allocations: 1.281 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.7207, allocations: 21.23 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7208, allocations: 1.578 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7208, allocations: 1.531 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.7208, allocations: 6.922 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7208, allocations: 5.109 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.7212, allocations: 245.7 kB / 1.089 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.7213, allocations: 98.66 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.7213, allocations: 8.141 kB / 1.089 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.7214, allocations: 16.92 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.7215, allocations: 15.14 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.7215, allocations: 8.406 kB / 1.089 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001219/0.7216, allocations: 147.5 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.933e-06/0.7216, allocations: 0 / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000242/0.7219, allocations: 26.5 kB / 1.089 GB, free: 12.84 MB / 0.8419 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.0001428/0.722, allocations: 108 kB / 1.09 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003124/0.7224, allocations: 100.5 kB / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7224, allocations: 0 / 1.09 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.7225, allocations: 46.95 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.7228, allocations: 15.56 kB / 1.09 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.7234, allocations: 285.5 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.7238, allocations: 0.7106 MB / 1.091 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.7238, allocations: 23.06 kB / 1.091 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.7238, allocations: 0 / 1.091 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.003365/0.7272, allocations: 1.537 MB / 1.092 GB, free: 11.64 MB / 0.8419 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=400 -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/jenkins1/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