Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001082, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007918/0.007918, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.653/1.653, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.158/3.158, allocations: 470.6 MB / 0.7442 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 19.61 kB / 0.9123 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.4285, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001046/0.4296, allocations: 385.8 kB / 1.07 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.4316, allocations: 1.207 MB / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.4316, allocations: 4 kB / 1.071 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.4316, allocations: 0 / 1.071 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.4317, allocations: 3.938 kB / 1.071 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.4324, allocations: 206.5 kB / 1.072 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.4326, allocations: 151.7 kB / 1.072 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.4327, allocations: 15.98 kB / 1.072 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.685e-05/0.4328, allocations: 55.84 kB / 1.072 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4329, allocations: 51.86 kB / 1.072 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.4329, allocations: 8 kB / 1.072 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.433, allocations: 19.98 kB / 1.072 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.4331, allocations: 7.984 kB / 1.072 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.4332, allocations: 77.53 kB / 1.072 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.4334, allocations: 135.6 kB / 1.072 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4334, allocations: 3.938 kB / 1.072 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4334, allocations: 8 kB / 1.072 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4335, allocations: 0 / 1.072 GB, free: 9.047 MB / 0.8262 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.000551/0.434, allocations: 408.6 kB / 1.073 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.4341, allocations: 12.03 kB / 1.073 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.4341, allocations: 8.844 kB / 1.073 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.4343, allocations: 176.3 kB / 1.073 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.4343, allocations: 12.31 kB / 1.073 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.4344, allocations: 12.38 kB / 1.073 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.4345, allocations: 42.25 kB / 1.073 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.4345, allocations: 4.188 kB / 1.073 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.4346, allocations: 7.922 kB / 1.073 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4346, allocations: 0 / 1.073 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.4346, allocations: 12 kB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.4352, allocations: 356.7 kB / 1.073 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.062e-05/0.4353, allocations: 38.44 kB / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.4353, allocations: 24.86 kB / 1.073 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4354, allocations: 0 / 1.073 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.4356, allocations: 79.47 kB / 1.073 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.4356, allocations: 0 / 1.073 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0002814/0.4359, allocations: 109.5 kB / 1.073 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.4359, allocations: 59.39 kB / 1.073 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.4361, allocations: 113.8 kB / 1.074 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.4361, allocations: 33.7 kB / 1.074 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.4362, allocations: 92.14 kB / 1.074 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.4362, allocations: 11.8 kB / 1.074 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.4363, allocations: 25.72 kB / 1.074 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.4365, allocations: 322.8 kB / 1.074 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4366, allocations: 55.97 kB / 1.074 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.4368, allocations: 96.25 kB / 1.074 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.437, allocations: 160 kB / 1.074 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.4371, allocations: 3.938 kB / 1.074 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004965/0.4376, allocations: 260.9 kB / 1.075 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.094e-05/0.4377, allocations: 73.58 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4377, allocations: 3.938 kB / 1.075 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4377, allocations: 4 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.428e-05/0.4377, allocations: 0 / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4377, allocations: 7.984 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004326/0.4382, allocations: 71.97 kB / 1.075 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.4382, allocations: 15.98 kB / 1.075 GB, free: 6.086 MB / 0.8262 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,nand1.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.0001413/0.4384, allocations: 129.7 kB / 1.075 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.4384, allocations: 3.906 kB / 1.075 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.4384, allocations: 16.38 kB / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4384, allocations: 0 / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.4385, allocations: 0 / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4385, allocations: 0 / 1.075 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.4387, allocations: 181.6 kB / 1.075 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4387, allocations: 0 / 1.075 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.4387, allocations: 8 kB / 1.075 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.4387, allocations: 3.984 kB / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4387, allocations: 0 / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4387, allocations: 0 / 1.075 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4387, allocations: 7.984 kB / 1.075 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.4389, allocations: 105 kB / 1.075 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.439, allocations: 89.03 kB / 1.075 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.439, allocations: 4 kB / 1.075 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.937e-05/0.439, allocations: 0 / 1.075 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4391, allocations: 7.984 kB / 1.075 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.4391, allocations: 0 / 1.075 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.693e-05/0.4392, allocations: 91.22 kB / 1.075 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4392, allocations: 4 kB / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002618/0.4394, allocations: 39.89 kB / 1.075 GB, free: 5.312 MB / 0.8262 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,nand1.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.0001921/0.4396, allocations: 99.25 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.44, allocations: 250.6 kB / 1.076 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.44, allocations: 0 / 1.076 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.933e-05/0.4401, allocations: 28.36 kB / 1.076 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.4404, allocations: 24.17 kB / 1.076 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.4407, allocations: 167.3 kB / 1.076 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4411, allocations: 0.6887 MB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.4411, allocations: 8 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.4411, allocations: 11.44 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of SimCode: time 5.11e-07/0.4412, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of Templates: time 0.00564/0.4468, allocations: 1.736 MB / 1.078 GB, free: 2.238 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches