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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 1.104 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8057, allocations: 168.7 MB / 1.269 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.00184/0.8076, allocations: 0.6535 MB / 1.269 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001568/0.8091, allocations: 1.194 MB / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.8092, allocations: 0 / 1.271 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.8092, allocations: 3.938 kB / 1.271 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.82e-05/0.8093, allocations: 11.88 kB / 1.271 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006212/0.8099, allocations: 212.3 kB / 1.271 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.8102, allocations: 187.6 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/0.8102, allocations: 4 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.8103, allocations: 67.88 kB / 1.271 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.8105, allocations: 63.8 kB / 1.271 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.8105, allocations: 12 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.414e-05/0.8106, allocations: 35.97 kB / 1.271 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.8106, allocations: 11.98 kB / 1.271 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.8107, allocations: 51.83 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.8109, allocations: 161.3 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8109, allocations: 0 / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8109, allocations: 4 kB / 1.271 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8109, allocations: 0 / 1.271 GB, free: 2.547 MB / 0.9669 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.0005937/0.8115, allocations: 440.7 kB / 1.272 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.8116, allocations: 8.031 kB / 1.272 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.483e-05/0.8116, allocations: 30.75 kB / 1.272 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.8117, allocations: 12.89 kB / 1.272 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.8118, allocations: 168.3 kB / 1.272 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.8119, allocations: 4.375 kB / 1.272 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.8119, allocations: 16.36 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.812, allocations: 50.19 kB / 1.272 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.812, allocations: 7.938 kB / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.812, allocations: 0 / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.812, allocations: 0 / 1.272 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.8121, allocations: 15.98 kB / 1.272 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.8126, allocations: 352.7 kB / 1.272 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.8127, allocations: 26.58 kB / 1.272 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-05/0.8128, allocations: 28.88 kB / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.8128, allocations: 0 / 1.272 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001968/0.813, allocations: 80.91 kB / 1.273 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.813, allocations: 0 / 1.273 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002638/0.8133, allocations: 101.6 kB / 1.273 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.8133, allocations: 55.34 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.8134, allocations: 121.8 kB / 1.273 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.8135, allocations: 37.7 kB / 1.273 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.8135, allocations: 96.09 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.8136, allocations: 11.89 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/0.8137, allocations: 49.69 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.8138, allocations: 322.8 kB / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.814, allocations: 59.97 kB / 1.273 GB, free: 260 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.8141, allocations: 100.2 kB / 1.273 GB, free: 144 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.8143, allocations: 155.6 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8143, allocations: 0 / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004415/0.8148, allocations: 260.9 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.8149, allocations: 67.39 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8149, allocations: 8.062 kB / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.8149, allocations: 0 / 1.274 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.484e-05/0.8149, allocations: 11.92 kB / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8149, allocations: 320 / 1.274 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.8152, allocations: 59.83 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.8153, allocations: 16.08 kB / 1.274 GB, free: 15.52 MB / 0.9825 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.0001232/0.8154, allocations: 121.8 kB / 1.274 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.683e-05/0.8154, allocations: 7.953 kB / 1.274 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.8154, allocations: 8.375 kB / 1.274 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.8155, allocations: 4.469 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8155, allocations: 0 / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.8155, allocations: 0 / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.8156, allocations: 177.6 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8156, allocations: 3.938 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.8156, allocations: 7.938 kB / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8156, allocations: 0 / 1.274 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.8156, allocations: 8 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8156, allocations: 0 / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.8157, allocations: 3.984 kB / 1.274 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.8158, allocations: 113 kB / 1.274 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.8159, allocations: 85.09 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.8159, allocations: 3.984 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.816, allocations: 8 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.816, allocations: 0 / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.816, allocations: 7.984 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.514e-05/0.8161, allocations: 91.22 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8161, allocations: 0 / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002366/0.8163, allocations: 35.94 kB / 1.275 GB, free: 14.74 MB / 0.9825 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.000554/0.8169, allocations: 0.6559 MB / 1.275 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003854/0.8172, allocations: 222.7 kB / 1.276 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.8172, allocations: 3.938 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.8173, allocations: 27.92 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.8175, allocations: 11.98 kB / 1.276 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.8197, allocations: 1.71 MB / 1.277 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.82, allocations: 0.6885 MB / 1.278 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.8201, allocations: 11.92 kB / 1.278 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.8201, allocations: 19.44 kB / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of SimCode: time 9.92e-07/0.8201, allocations: 0 / 1.278 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02972/0.8498, allocations: 2.905 MB / 1.281 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.975, allocations: 0.7031 kB / 1.281 GB, free: 8.41 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.086459728889167]