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.001097/0.001097, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001164/0.001164, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.474/2.474, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 64.09 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7741, allocations: 140.4 MB / 0.9491 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002032/0.7762, allocations: 0.7195 MB / 0.9498 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.7775, allocations: 1.203 MB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.574e-05/0.7776, allocations: 1.375 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.7776, allocations: 3.938 kB / 0.9509 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.307e-05/0.7777, allocations: 13.3 kB / 0.951 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.7782, allocations: 186.3 kB / 0.9511 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.7784, allocations: 162.3 kB / 0.9513 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.7785, allocations: 12.38 kB / 0.9513 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.7786, allocations: 63.97 kB / 0.9514 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.686e-05/0.7787, allocations: 44.28 kB / 0.9514 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.7787, allocations: 9.125 kB / 0.9514 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.214e-05/0.7788, allocations: 19.11 kB / 0.9514 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.7788, allocations: 11.83 kB / 0.9514 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.7789, allocations: 50.55 kB / 0.9515 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.7791, allocations: 143.5 kB / 0.9516 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7791, allocations: 7.875 kB / 0.9516 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7792, allocations: 5.344 kB / 0.9516 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.7792, allocations: 0 / 0.9516 GB, free: 7.328 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.0004852/0.7797, allocations: 436.7 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.7797, allocations: 9.562 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.7797, allocations: 36.19 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.7798, allocations: 7.344 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.302e-05/0.7799, allocations: 170.9 kB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.7799, allocations: 8.781 kB / 0.9523 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.78, allocations: 13.55 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.7801, allocations: 51.81 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.7801, allocations: 3.938 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.7801, allocations: 1.062 kB / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.7801, allocations: 0 / 0.9523 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.292e-05/0.7802, allocations: 19.7 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.7806, allocations: 347.5 kB / 0.9527 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/0.7807, allocations: 32.8 kB / 0.9527 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.7807, allocations: 25.78 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.7807, allocations: 0.6875 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001604/0.7809, allocations: 84.72 kB / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.7809, allocations: 0 / 0.9528 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002399/0.7812, allocations: 100.3 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.7812, allocations: 52.88 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.769e-05/0.7813, allocations: 130.1 kB / 0.9531 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.7813, allocations: 29.89 kB / 0.9531 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.7814, allocations: 88.89 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.7814, allocations: 14.75 kB / 0.9532 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.119e-05/0.7815, allocations: 48.66 kB / 0.9533 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.7816, allocations: 324.1 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.7817, allocations: 54.75 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.7818, allocations: 99.47 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.782, allocations: 152.6 kB / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.782, allocations: 0 / 0.9539 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003984/0.7824, allocations: 274.6 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.7825, allocations: 72.64 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7825, allocations: 1.031 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7825, allocations: 2.094 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.7825, allocations: 9.922 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7825, allocations: 2.719 kB / 0.9542 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.7829, allocations: 55 kB / 0.9543 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.7829, allocations: 17.92 kB / 0.9543 GB, free: 4.801 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.495e-05/0.783, allocations: 121.6 kB / 0.9544 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.7831, allocations: 7.188 kB / 0.9544 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.7831, allocations: 13.78 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7831, allocations: 1.219 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.7831, allocations: 0 / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.7831, allocations: 7.969 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/0.7832, allocations: 173.5 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7832, allocations: 4 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.035e-05/0.7832, allocations: 5.156 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7832, allocations: 1.375 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.7833, allocations: 5.109 kB / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7833, allocations: 0 / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.7833, allocations: 5.297 kB / 0.9546 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.7834, allocations: 111.2 kB / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.7834, allocations: 79.39 kB / 0.9548 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.7835, allocations: 5.188 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.7835, allocations: 0.9375 kB / 0.9548 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.7835, allocations: 11.36 kB / 0.9548 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.7835, allocations: 2.312 kB / 0.9548 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.999e-05/0.7836, allocations: 94.95 kB / 0.9549 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7836, allocations: 0 / 0.9549 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000235/0.7838, allocations: 27.41 kB / 0.9549 GB, free: 4.148 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.0003603/0.7842, allocations: 0.658 MB / 0.9556 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.7845, allocations: 240.8 kB / 0.9558 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7845, allocations: 1.094 kB / 0.9558 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.7846, allocations: 31.89 kB / 0.9558 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.7848, allocations: 17.97 kB / 0.9559 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.7866, allocations: 1.725 MB / 0.9575 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.7868, allocations: 0.6843 MB / 0.9582 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.7868, allocations: 8.25 kB / 0.9582 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.7869, allocations: 18.92 kB / 0.9582 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.71e-07/0.7869, allocations: 0 / 0.9582 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.8005, allocations: 2.665 MB / 0.9608 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.8009, allocations: 200.4 kB / 0.961 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.615, allocations: 0 / 0.961 GB, free: 15.44 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