Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001945/0.001945, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 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.002587/0.002587, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.335/3.335, allocations: 0.4899 GB / 0.7915 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 70.31 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4005, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002155/0.4027, allocations: 0.6556 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.4044, allocations: 1.222 MB / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.4045, allocations: 0 / 1.323 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.4045, allocations: 3.938 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.438e-05/0.4046, allocations: 11.88 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.4053, allocations: 215 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.4056, allocations: 179.6 kB / 1.323 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.957e-05/0.4057, allocations: 8 kB / 1.323 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4058, allocations: 63.89 kB / 1.324 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.4059, allocations: 67.84 kB / 1.324 GB, free: 440 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.4059, allocations: 12 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.406, allocations: 31.98 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.4061, allocations: 15.92 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.4062, allocations: 55.88 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.4065, allocations: 155.5 kB / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4065, allocations: 0 / 1.324 GB, free: 168 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4065, allocations: 4 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4065, allocations: 0 / 1.324 GB, free: 164 kB / 1.014 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.0006958/0.4072, allocations: 442.6 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4072, allocations: 11.98 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.797e-05/0.4073, allocations: 12.88 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.4074, allocations: 164.3 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.4075, allocations: 12.38 kB / 1.324 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.4075, allocations: 8.375 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4076, allocations: 46.23 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4076, allocations: 4.188 kB / 1.325 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4076, allocations: 3.938 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.4077, allocations: 4 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.999e-05/0.4077, allocations: 15.94 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.4083, allocations: 348.8 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.936e-05/0.4084, allocations: 34.5 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.4084, allocations: 12.86 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4084, allocations: 8 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.4086, allocations: 87.39 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.4086, allocations: 0 / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0002789/0.4089, allocations: 101.6 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.409, allocations: 55.41 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4091, allocations: 117.8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.4091, allocations: 37.64 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.4092, allocations: 96.12 kB / 1.325 GB, free: 14.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.4092, allocations: 15.84 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4093, allocations: 45.69 kB / 1.325 GB, free: 14.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4095, allocations: 330.8 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4096, allocations: 59.97 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.4098, allocations: 88.25 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.41, allocations: 164 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.41, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004798/0.4105, allocations: 276.8 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.4106, allocations: 71.52 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4106, allocations: 0 / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4106, allocations: 4 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.452e-05/0.4106, allocations: 3.938 kB / 1.326 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4106, allocations: 4 kB / 1.326 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.411, allocations: 51.89 kB / 1.326 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.411, allocations: 11.98 kB / 1.327 GB, free: 13.16 MB / 1.029 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.0001247/0.4112, allocations: 129.8 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.4112, allocations: 7.984 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.4112, allocations: 4.375 kB / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4112, allocations: 0 / 1.327 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4112, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4112, allocations: 0 / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.4114, allocations: 185.5 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4114, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.557e-06/0.4114, allocations: 0 / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4115, allocations: 4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4115, allocations: 3.938 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.4115, allocations: 4 kB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4115, allocations: 0 / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.4117, allocations: 105 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.4117, allocations: 85.06 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4117, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.4118, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.4118, allocations: 12.05 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.4119, allocations: 12 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.418e-05/0.4119, allocations: 95.2 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4119, allocations: 0 / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002436/0.4122, allocations: 27.94 kB / 1.327 GB, free: 12.39 MB / 1.029 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.0002069/0.4124, allocations: 119.1 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.4128, allocations: 223.2 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4128, allocations: 4.062 kB / 1.327 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.793e-05/0.4128, allocations: 19.98 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4131, allocations: 15.98 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004021/0.4135, allocations: 154.5 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.4138, allocations: 0.6885 MB / 1.328 GB, free: 11.09 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.4139, allocations: 8 kB / 1.328 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.4139, allocations: 15.44 kB / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4139, allocations: 0 / 1.328 GB, free: 11.06 MB / 1.029 GB Notification: Performance of Templates: time 0.005357/0.4192, allocations: 1.846 MB / 1.33 GB, free: 9.242 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.49213894130662]