Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007875/0.0007875, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007811/0.0007811, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8884/0.8884, allocations: 177.2 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.797/1.797, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.624e-06/2.624e-06, allocations: 0 / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.78e-05, allocations: 2.281 kB / 1.001 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001363/0.001391, allocations: 0.6519 MB / 1.002 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002597, allocations: 1.21 MB / 1.003 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.002645, allocations: 4 kB / 1.003 GB, free: 9.996 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.002674, allocations: 3.938 kB / 1.003 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.002744, allocations: 11.86 kB / 1.003 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.003312, allocations: 218.4 kB / 1.003 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.003507, allocations: 175.7 kB / 1.003 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.003615, allocations: 11.98 kB / 1.003 GB, free: 9.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.003728, allocations: 95.86 kB / 1.003 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.003833, allocations: 47.86 kB / 1.003 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.00386, allocations: 19.94 kB / 1.003 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.003929, allocations: 31.97 kB / 1.003 GB, free: 9.398 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.003951, allocations: 4 kB / 1.003 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.004018, allocations: 51.95 kB / 1.003 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.004225, allocations: 187.5 kB / 1.004 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004227, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.302e-06/0.004228, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004233, allocations: 0 / 1.004 GB, free: 9.16 MB / 0.9167 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.0004272/0.00466, allocations: 353.6 kB / 1.004 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.004698, allocations: 12.75 kB / 1.004 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.004745, allocations: 8.891 kB / 1.004 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.772e-05/0.004822, allocations: 113.7 kB / 1.004 GB, free: 8.613 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004836, allocations: 4.375 kB / 1.004 GB, free: 8.609 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.004858, allocations: 16.38 kB / 1.004 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.004958, allocations: 54.17 kB / 1.004 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.004967, allocations: 192 / 1.004 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.004976, allocations: 384 / 1.004 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.004983, allocations: 12.31 kB / 1.004 GB, free: 8.523 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.005015, allocations: 11.94 kB / 1.004 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.005367, allocations: 268.5 kB / 1.004 GB, free: 8.219 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.005443, allocations: 34.5 kB / 1.004 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.005465, allocations: 12.86 kB / 1.004 GB, free: 8.16 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.005477, allocations: 4.094 kB / 1.004 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.005613, allocations: 91.28 kB / 1.004 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.005615, allocations: 3.938 kB / 1.005 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002138/0.005828, allocations: 105.6 kB / 1.005 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.005863, allocations: 51.41 kB / 1.005 GB, free: 7.879 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.005939, allocations: 117.8 kB / 1.005 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.005963, allocations: 37.69 kB / 1.005 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.006011, allocations: 92.14 kB / 1.005 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.006023, allocations: 15.83 kB / 1.005 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.006083, allocations: 49.69 kB / 1.005 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.006165, allocations: 322.8 kB / 1.005 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.006287, allocations: 119.4 kB / 1.005 GB, free: 7.094 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.006408, allocations: 155.7 kB / 1.006 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.006535, allocations: 159.5 kB / 1.006 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006537, allocations: 0 / 1.006 GB, free: 6.73 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003003/0.006837, allocations: 332.2 kB / 1.006 GB, free: 6.375 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.006881, allocations: 67.39 kB / 1.006 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006886, allocations: 4.531 kB / 1.006 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.006899, allocations: 8 kB / 1.006 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.592e-05/0.006915, allocations: 0 / 1.006 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.00692, allocations: 4 kB / 1.006 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.00711, allocations: 47.94 kB / 1.006 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.007132, allocations: 19.92 kB / 1.006 GB, free: 6.215 MB / 0.9167 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 7.724e-05/0.007209, allocations: 117.8 kB / 1.006 GB, free: 6.09 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.192e-05/0.007221, allocations: 15.89 kB / 1.006 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.007244, allocations: 12.42 kB / 1.006 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.007247, allocations: 4 kB / 1.006 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.007252, allocations: 0 / 1.006 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.007255, allocations: 3.938 kB / 1.006 GB, free: 6.051 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.332e-05/0.007328, allocations: 109.3 kB / 1.006 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007329, allocations: 3.938 kB / 1.006 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/0.007335, allocations: 8 kB / 1.006 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007337, allocations: 3.938 kB / 1.006 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.007344, allocations: 0 / 1.006 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.007346, allocations: 3.984 kB / 1.006 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007347, allocations: 4 kB / 1.006 GB, free: 5.891 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.007447, allocations: 109.1 kB / 1.007 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.007457, allocations: 15.94 kB / 1.007 GB, free: 5.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.007471, allocations: 11.94 kB / 1.007 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.125e-05/0.007482, allocations: 0 / 1.007 GB, free: 5.738 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.007516, allocations: 11.97 kB / 1.007 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.007521, allocations: 0 / 1.007 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.007556, allocations: 95.2 kB / 1.007 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007556, allocations: 0 / 1.007 GB, free: 5.633 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001613/0.007718, allocations: 32 kB / 1.007 GB, free: 5.602 MB / 0.9167 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.0001098/0.007828, allocations: 103.2 kB / 1.007 GB, free: 5.492 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.008086, allocations: 282.1 kB / 1.007 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.008087, allocations: 0 / 1.007 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.562e-05/0.008123, allocations: 23.98 kB / 1.007 GB, free: 5.156 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.008285, allocations: 18.3 kB / 1.007 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.008552, allocations: 187.3 kB / 1.007 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.987e-05/0.008592, allocations: 75.28 kB / 1.007 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.008612, allocations: 16.5 kB / 1.007 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of SimCode: time 3.91e-07/0.008613, allocations: 0 / 1.007 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of Templates: time 0.00209/0.0107, allocations: 1.394 MB / 1.009 GB, free: 3.422 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.580637616105378]