Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.u3|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 107.2 kB / 16.41 MB, free: 6.488 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.001555/0.001555, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.402/1.402, allocations: 222.9 MB / 241 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.289/2.289, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 64.14 kB / 0.9515 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7908, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.001654/0.7925, allocations: 0.7053 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.7938, allocations: 1.264 MB / 1.091 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.7938, allocations: 4 kB / 1.091 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.7939, allocations: 5.875 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.794, allocations: 24.86 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.7948, allocations: 313.7 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.7951, allocations: 275.2 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.7952, allocations: 17.47 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.7953, allocations: 100.6 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.7955, allocations: 96.3 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.771e-05/0.7956, allocations: 22.16 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.7957, allocations: 36.34 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.7957, allocations: 12.31 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.7958, allocations: 86.88 kB / 1.092 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.7961, allocations: 217.2 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7961, allocations: 0 / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7961, allocations: 0.7188 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.7962, allocations: 0 / 1.092 GB, free: 3.633 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004754/0.7966, allocations: 492.8 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7967, allocations: 9.312 kB / 1.092 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.049e-05/0.7968, allocations: 16.44 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.796e-05/0.7968, allocations: 181.4 kB / 1.092 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.7969, allocations: 15.42 kB / 1.092 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.7969, allocations: 17.58 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.797, allocations: 56.56 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.797, allocations: 3.938 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7971, allocations: 1.531 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.7971, allocations: 8.781 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.7971, allocations: 22.55 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005069/0.7976, allocations: 412 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/0.7977, allocations: 30.52 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.7977, allocations: 18.72 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/0.7978, allocations: 1.703 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.7979, allocations: 117.2 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.7979, allocations: 0 / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0002968/0.7982, allocations: 135.3 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.7983, allocations: 54.64 kB / 1.093 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.7984, allocations: 133.4 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.7984, allocations: 35.84 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.7985, allocations: 96.62 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.7985, allocations: 20.88 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.7986, allocations: 66.8 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.7987, allocations: 324.7 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.7989, allocations: 87.73 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.7991, allocations: 132.1 kB / 1.094 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.7993, allocations: 246.3 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.7993, allocations: 4.844 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005945/0.7999, allocations: 370.8 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.8, allocations: 98.98 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8, allocations: 1.844 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8, allocations: 2.906 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.287e-05/0.8001, allocations: 7.562 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8001, allocations: 3.453 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.8006, allocations: 86.89 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.8006, allocations: 21.75 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.793e-05/0.8007, allocations: 129 kB / 1.095 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.8007, allocations: 8.859 kB / 1.095 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.689e-05/0.8008, allocations: 11.08 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.8008, allocations: 2.531 kB / 1.095 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8008, allocations: 7.938 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8008, allocations: 1.031 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.801, allocations: 191.4 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.801, allocations: 0.75 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/0.801, allocations: 6.094 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.801, allocations: 2.422 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.801, allocations: 1.375 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.801, allocations: 1.406 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.801, allocations: 0.7188 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.8012, allocations: 140.9 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.278e-05/0.8012, allocations: 88.19 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.8013, allocations: 1.953 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.8013, allocations: 5.438 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.8013, allocations: 8.453 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.8014, allocations: 8.594 kB / 1.095 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.8014, allocations: 95.45 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8014, allocations: 0 / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002673/0.8017, allocations: 43.94 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001271/0.8018, allocations: 107 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.8023, allocations: 374.4 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8023, allocations: 0.8125 kB / 1.096 GB, free: 48 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.8024, allocations: 40.45 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.8026, allocations: 43.06 kB / 1.096 GB, free: 16 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004272/0.8031, allocations: 220 kB / 1.096 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.8033, allocations: 0.6926 MB / 1.097 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.8034, allocations: 13.27 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.8034, allocations: 0.75 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.004583/0.808, allocations: 1.88 MB / 1.099 GB, free: 14.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches