Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_10_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.001735/0.001735, allocations: 112.5 kB / 15.73 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 196.5 kB / 16.66 MB, free: 6.574 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.1 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3514, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002004/0.3534, allocations: 0.6659 MB / 1.167 GB, free: 6.656 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001599/0.3551, allocations: 1.187 MB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.3551, allocations: 0 / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.3552, allocations: 7.938 kB / 1.168 GB, free: 5.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.3553, allocations: 7.938 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007194/0.356, allocations: 222.5 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.3563, allocations: 183.7 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3564, allocations: 8 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.3566, allocations: 71.88 kB / 1.168 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.3567, allocations: 59.84 kB / 1.169 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.3568, allocations: 16 kB / 1.169 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.441e-05/0.3569, allocations: 35.97 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.3569, allocations: 7.938 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.357, allocations: 59.83 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002145/0.3572, allocations: 146.5 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3572, allocations: 4 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3572, allocations: 0 / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.3572, allocations: 0 / 1.169 GB, free: 4.648 MB / 0.92 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.000556/0.3578, allocations: 441.1 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3579, allocations: 12.03 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.3579, allocations: 30.75 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.358, allocations: 16.84 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3581, allocations: 168.3 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3581, allocations: 4.375 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.3582, allocations: 16.38 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.3583, allocations: 42.25 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3583, allocations: 3.938 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3583, allocations: 3.984 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3583, allocations: 3.984 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.317e-05/0.3584, allocations: 19.88 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.3589, allocations: 360.7 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/0.359, allocations: 30.56 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.359, allocations: 20.8 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.359, allocations: 0 / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.3592, allocations: 83.39 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.3592, allocations: 4 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0002892/0.3595, allocations: 101.6 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.3596, allocations: 55.39 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.3597, allocations: 113.8 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3597, allocations: 33.7 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.3598, allocations: 99.98 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.3598, allocations: 11.88 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3599, allocations: 53.69 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.3601, allocations: 322.8 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.3602, allocations: 63.95 kB / 1.171 GB, free: 2.336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3604, allocations: 88.27 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3606, allocations: 163.5 kB / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3606, allocations: 0 / 1.171 GB, free: 2.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004511/0.361, allocations: 257.4 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.3611, allocations: 71.39 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3611, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3611, allocations: 0 / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.085e-05/0.3612, allocations: 11.88 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.3612, allocations: 64 / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.3615, allocations: 67.91 kB / 1.171 GB, free: 1.617 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.3616, allocations: 15.98 kB / 1.171 GB, free: 1.602 MB / 0.92 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.0001196/0.3617, allocations: 123.5 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.3617, allocations: 4 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.3618, allocations: 8.375 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3618, allocations: 4 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3618, allocations: 0 / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.3618, allocations: 3.984 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.362, allocations: 177.5 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.362, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.107e-05/0.362, allocations: 7.938 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.362, allocations: 0 / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.362, allocations: 3.984 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.362, allocations: 3.938 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.362, allocations: 0 / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.3622, allocations: 117 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.3623, allocations: 85.02 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.3623, allocations: 0 / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.3623, allocations: 4 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.3624, allocations: 7.984 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.3624, allocations: 4 kB / 1.172 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.3624, allocations: 87.27 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3624, allocations: 4 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002889/0.3627, allocations: 32 kB / 1.172 GB, free: 0.8398 MB / 0.92 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.0004982/0.3632, allocations: 0.6474 MB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000408/0.3637, allocations: 250.7 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3637, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.9e-05/0.3637, allocations: 28.23 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.364, allocations: 20.83 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3661, allocations: 1.709 MB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3664, allocations: 0.6885 MB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.3664, allocations: 4 kB / 1.175 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.056e-05/0.3665, allocations: 15.44 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.3665, allocations: 0 / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.3891, allocations: 2.89 MB / 1.178 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.042, allocations: 13.05 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches