Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007961/0.007961, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001374/0.001374, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 64.05 kB / 0.9509 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9314/0.9327, allocations: 140.4 MB / 1.088 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002064/0.9348, allocations: 0.6622 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.9363, allocations: 1.187 MB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.9364, allocations: 0.75 kB / 1.09 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.9364, allocations: 5.719 kB / 1.09 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.738e-05/0.9365, allocations: 11.72 kB / 1.09 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007071/0.9372, allocations: 222.7 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.9375, allocations: 182.9 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.9376, allocations: 7.375 kB / 1.09 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.9378, allocations: 70.34 kB / 1.09 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.9379, allocations: 58 kB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.938, allocations: 19.69 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.593e-05/0.9381, allocations: 32.2 kB / 1.09 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.9381, allocations: 18.25 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.9382, allocations: 52.36 kB / 1.09 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.9385, allocations: 150.8 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.9385, allocations: 0 / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9385, allocations: 1.25 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.9386, allocations: 0 / 1.091 GB, free: 3.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005385/0.9391, allocations: 432.6 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.9391, allocations: 10.31 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.629e-05/0.9392, allocations: 12.12 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.9393, allocations: 180.6 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.9394, allocations: 4.969 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.9394, allocations: 14.08 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.9395, allocations: 49.47 kB / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.9395, allocations: 192 / 1.091 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.9396, allocations: 5.438 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.9396, allocations: 0.625 kB / 1.091 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.851e-05/0.9396, allocations: 13.55 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.9402, allocations: 350.2 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.9403, allocations: 39.55 kB / 1.092 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.302e-05/0.9403, allocations: 19.72 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.9404, allocations: 0.7188 kB / 1.092 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.9406, allocations: 85.41 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.9406, allocations: 0.6875 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002932/0.9409, allocations: 103.8 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.9409, allocations: 53.42 kB / 1.092 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.9411, allocations: 125 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.9411, allocations: 33.95 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.9412, allocations: 89.2 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.9412, allocations: 16.02 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.9413, allocations: 48.88 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9415, allocations: 323.1 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.9416, allocations: 63.53 kB / 1.093 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.9418, allocations: 89.23 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.942, allocations: 161.8 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.9421, allocations: 1.344 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004923/0.9425, allocations: 261.4 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.9426, allocations: 68.73 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9426, allocations: 1.797 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.9426, allocations: 2.438 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.329e-05/0.9427, allocations: 2.641 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.9427, allocations: 1.875 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.9431, allocations: 60.45 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.9431, allocations: 12.06 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001021/0.9432, allocations: 127.4 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.9432, allocations: 7.438 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.004e-05/0.9433, allocations: 10.61 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.9433, allocations: 0.6875 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9433, allocations: 8.625 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.9433, allocations: 0.8594 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.9435, allocations: 179.5 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9435, allocations: 0 / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.9435, allocations: 1.859 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9435, allocations: 1.547 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.9435, allocations: 2.344 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9436, allocations: 3.938 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9436, allocations: 0.8438 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.9438, allocations: 119.4 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.9438, allocations: 83.31 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.9439, allocations: 2.188 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.933e-05/0.9439, allocations: 5.172 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.944, allocations: 9.359 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.944, allocations: 3.797 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.944, allocations: 89.86 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.944, allocations: 0 / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003095/0.9444, allocations: 32.08 kB / 1.094 GB, free: 0.957 MB / 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002481/0.9446, allocations: 109 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004735/0.9451, allocations: 249 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.9451, allocations: 0 / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.9452, allocations: 22.75 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.9455, allocations: 20.5 kB / 1.094 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.9459, allocations: 168.6 kB / 1.094 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.9462, allocations: 0.6856 MB / 1.095 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.9463, allocations: 9.031 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.9463, allocations: 12.52 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.9463, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of Templates: time 0.006032/0.9523, allocations: 1.843 MB / 1.097 GB, free: 15.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches