Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009485/0.009484, allocations: 101.5 kB / 15.73 MB, free: 5.586 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.001545/0.001545, allocations: 183 kB / 16.67 MB, free: 5.523 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.604/1.604, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.9509 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.045, allocations: 140.4 MB / 1.088 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001667/1.047, allocations: 0.5512 MB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 3.9e-05/1.047, allocations: 0.6562 kB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/1.047, allocations: 1.062 kB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.634e-05/1.047, allocations: 0 / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.465e-05/1.047, allocations: 0 / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.461e-05/1.047, allocations: 1.031 kB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.15e-05/1.047, allocations: 5.578 kB / 1.088 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/1.047, allocations: 6.641 kB / 1.088 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.591e-05/1.047, allocations: 0 / 1.088 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/1.047, allocations: 1.688 kB / 1.088 GB, free: 5.445 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/1.047, allocations: 7.938 kB / 1.089 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/1.047, allocations: 1 kB / 1.089 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/1.047, allocations: 0 / 1.089 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/1.047, allocations: 5.031 kB / 1.089 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.176e-05/1.047, allocations: 1.641 kB / 1.089 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/1.048, allocations: 1.062 kB / 1.089 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/1.048, allocations: 0 / 1.089 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.979e-06/1.048, allocations: 0 / 1.089 GB, free: 5.434 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002718/1.048, allocations: 315.7 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.048, allocations: 9.609 kB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/1.048, allocations: 6 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.867e-05/1.048, allocations: 165.2 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/1.048, allocations: 5.484 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/1.048, allocations: 1.438 kB / 1.089 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/1.048, allocations: 28.48 kB / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.048, allocations: 192 / 1.089 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/1.048, allocations: 4.75 kB / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.048, allocations: 0 / 1.089 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/1.048, allocations: 6.828 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/1.048, allocations: 381.6 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/1.048, allocations: 170.8 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/1.048, allocations: 80.14 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/1.048, allocations: 80.47 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/1.049, allocations: 119.5 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.049, allocations: 3.938 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 6.134e-05/1.049, allocations: 31.5 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/1.049, allocations: 127.4 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/1.049, allocations: 94.7 kB / 1.09 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-06/1.049, allocations: 25.7 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.386e-05/1.049, allocations: 85.45 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/1.049, allocations: 4 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.733e-05/1.049, allocations: 11.81 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/1.049, allocations: 312 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-06/1.049, allocations: 0 / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/1.049, allocations: 0.75 kB / 1.09 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.358e-05/1.049, allocations: 76.38 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.049, allocations: 75.28 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.915e-05/1.049, allocations: 36.69 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/1.049, allocations: 85.23 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.049, allocations: 76.38 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.795e-05/1.049, allocations: 160.2 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.207e-05/1.049, allocations: 81.11 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.372e-05/1.049, allocations: 159.5 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/1.049, allocations: 77.03 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.049, allocations: 80.97 kB / 1.091 GB, free: 2.352 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 (0): * Single equations (assignments): 0 * 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 5.715e-05/1.049, allocations: 262.8 kB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/1.049, allocations: 106.7 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/1.049, allocations: 109.9 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/1.049, allocations: 182.6 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.007e-05/1.049, allocations: 182 kB / 1.092 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/1.049, allocations: 177.7 kB / 1.092 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002217/1.05, allocations: 408.4 kB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/1.05, allocations: 103.1 kB / 1.093 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/1.05, allocations: 106.6 kB / 1.093 GB, free: 16.65 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.804e-05/1.05, allocations: 178.1 kB / 1.093 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.785e-05/1.05, allocations: 182.3 kB / 1.093 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.367e-05/1.05, allocations: 182 kB / 1.093 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/1.05, allocations: 182.6 kB / 1.094 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/1.05, allocations: 312.4 kB / 1.094 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.232e-05/1.05, allocations: 184.8 kB / 1.094 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/1.05, allocations: 186.5 kB / 1.094 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/1.05, allocations: 111.1 kB / 1.094 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/1.051, allocations: 181.8 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/1.051, allocations: 102.9 kB / 1.095 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.086e-05/1.051, allocations: 81.17 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/1.051, allocations: 1.344 kB / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002518/1.051, allocations: 0 / 1.095 GB, free: 14.72 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0001529/1.051, allocations: 177.8 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.299e-05/1.051, allocations: 1.672 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.051, allocations: 3.938 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.051, allocations: 5.219 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/1.052, allocations: 463.9 kB / 1.095 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002356/1.052, allocations: 150 kB / 1.095 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/1.052, allocations: 0.6718 MB / 1.096 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.323e-06/1.052, allocations: 0.5625 kB / 1.096 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/1.052, allocations: 7.438 kB / 1.096 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/1.052, allocations: 0 / 1.096 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of Templates: time 0.00192/1.054, allocations: 171.9 kB / 1.096 GB, free: 13.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches