Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007754/0.0007754, allocations: 97.64 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.005177/0.005177, allocations: 170 kB / 16.27 MB, free: 6.328 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.375/1.375, 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 9.1.2-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.9 MB / 0.6664 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 12 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7998/0.8001, allocations: 142.4 MB / 0.9552 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0008874/0.8011, allocations: 389.8 kB / 0.9556 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.8025, allocations: 1.193 MB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.8026, allocations: 1.281 kB / 0.9567 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.818e-05/0.8026, allocations: 3.938 kB / 0.9567 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.252e-05/0.8027, allocations: 9.109 kB / 0.9567 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006149/0.8033, allocations: 202.5 kB / 0.9569 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.8035, allocations: 152.3 kB / 0.9571 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.8036, allocations: 9.359 kB / 0.9571 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.46e-05/0.8037, allocations: 62.78 kB / 0.9571 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.92e-05/0.8038, allocations: 45.81 kB / 0.9572 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.8038, allocations: 11.56 kB / 0.9572 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.31e-05/0.8039, allocations: 18.31 kB / 0.9572 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.804, allocations: 15.38 kB / 0.9572 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.561e-05/0.8041, allocations: 77.16 kB / 0.9573 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.8042, allocations: 136.7 kB / 0.9574 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8043, allocations: 0 / 0.9574 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8043, allocations: 0 / 0.9574 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.8043, allocations: 0 / 0.9574 GB, free: 6 MB / 0.7169 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.0004222/0.8047, allocations: 413.8 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8048, allocations: 9.688 kB / 0.9578 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.8048, allocations: 42.67 kB / 0.9579 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.8048, allocations: 9.031 kB / 0.9579 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.654e-05/0.8049, allocations: 171 kB / 0.9581 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.805, allocations: 9.594 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.805, allocations: 8.094 kB / 0.9581 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.8051, allocations: 48.64 kB / 0.9581 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.8051, allocations: 3.938 kB / 0.9581 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.8052, allocations: 0 / 0.9581 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.8052, allocations: 5.5 kB / 0.9581 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.8052, allocations: 19.55 kB / 0.9581 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.8056, allocations: 351 kB / 0.9585 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.8057, allocations: 32.19 kB / 0.9585 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.8058, allocations: 14.83 kB / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.8058, allocations: 96 / 0.9585 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.8059, allocations: 100.5 kB / 0.9586 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.8059, allocations: 0 / 0.9586 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002302/0.8062, allocations: 100.4 kB / 0.9587 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.8062, allocations: 57.22 kB / 0.9588 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.8063, allocations: 118.2 kB / 0.9589 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.8063, allocations: 33.28 kB / 0.9589 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.8064, allocations: 90.45 kB / 0.959 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.8064, allocations: 17.7 kB / 0.959 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.8064, allocations: 32.67 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.8065, allocations: 316.1 kB / 0.9593 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.8066, allocations: 58.53 kB / 0.9594 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.8068, allocations: 90.62 kB / 0.9595 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.8069, allocations: 169.3 kB / 0.9597 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.807, allocations: 0 / 0.9597 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003769/0.8073, allocations: 254.6 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.8074, allocations: 69.02 kB / 0.96 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8074, allocations: 1.375 kB / 0.96 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.8074, allocations: 1.375 kB / 0.96 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.239e-05/0.8075, allocations: 6.812 kB / 0.96 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8075, allocations: 5.375 kB / 0.96 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.8079, allocations: 82.56 kB / 0.9601 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.8079, allocations: 14.14 kB / 0.9601 GB, free: 3.484 MB / 0.7169 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 8.974e-05/0.808, allocations: 124.7 kB / 0.9602 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.808, allocations: 5.469 kB / 0.9602 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.8081, allocations: 13.77 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.8081, allocations: 1.406 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8081, allocations: 0 / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8081, allocations: 0.9688 kB / 0.9602 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.8082, allocations: 176.8 kB / 0.9604 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8082, allocations: 3.938 kB / 0.9604 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.838e-06/0.8082, allocations: 9.922 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8082, allocations: 0.8438 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.8082, allocations: 1 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.8082, allocations: 1.469 kB / 0.9604 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8082, allocations: 3.938 kB / 0.9604 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/0.8084, allocations: 115.9 kB / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.8084, allocations: 85.95 kB / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.8084, allocations: 2.469 kB / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.89e-05/0.8085, allocations: 0 / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.8085, allocations: 7.078 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8085, allocations: 2.906 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.8086, allocations: 94.52 kB / 0.9607 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8086, allocations: 0 / 0.9607 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002288/0.8088, allocations: 31.94 kB / 0.9607 GB, free: 2.828 MB / 0.7169 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.0003519/0.8092, allocations: 0.6538 MB / 0.9614 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.8095, allocations: 240.9 kB / 0.9616 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8095, allocations: 0 / 0.9616 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.121e-05/0.8096, allocations: 28.81 kB / 0.9616 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.8098, allocations: 21.7 kB / 0.9616 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.8116, allocations: 1.722 MB / 0.9633 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.8118, allocations: 0.6876 MB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.8118, allocations: 8.031 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.8119, allocations: 22.42 kB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.8119, allocations: 0 / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.8254, allocations: 2.614 MB / 0.9666 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.8256, allocations: 198.5 kB / 0.9668 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.617, allocations: 1.25 kB / 0.9668 GB, free: 14.21 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches