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.001924/0.001925, allocations: 103.5 kB / 16.4 MB, free: 6.516 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.002075/0.002075, allocations: 196.7 kB / 19.35 MB, free: 3.73 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.426/1.426, allocations: 222.9 MB / 245.1 MB, free: 14.99 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.831/2.831, allocations: 469.8 MB / 0.7491 GB, free: 2.992 MB / 0.6075 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.001965/0.001964, allocations: 67.89 kB / 1.073 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8378, allocations: 159.1 MB / 1.229 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002168/0.84, allocations: 0.655 MB / 1.229 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002191/0.8422, allocations: 1.19 MB / 1.23 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.8423, allocations: 0 / 1.23 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.8424, allocations: 3.938 kB / 1.23 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.8425, allocations: 11.88 kB / 1.23 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.8434, allocations: 226 kB / 1.231 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.8437, allocations: 183.6 kB / 1.231 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.8439, allocations: 12 kB / 1.231 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.844, allocations: 63.89 kB / 1.231 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.8442, allocations: 67.83 kB / 1.231 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.8443, allocations: 16 kB / 1.231 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.8444, allocations: 23.98 kB / 1.231 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.8444, allocations: 12 kB / 1.231 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.8445, allocations: 59.81 kB / 1.231 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.8449, allocations: 157.3 kB / 1.231 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8449, allocations: 0 / 1.231 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8449, allocations: 3.938 kB / 1.231 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8449, allocations: 0 / 1.231 GB, free: 15.09 MB / 0.9512 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.0008068/0.8457, allocations: 438.7 kB / 1.232 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.8458, allocations: 8.031 kB / 1.232 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.8458, allocations: 34.75 kB / 1.232 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.8459, allocations: 12.89 kB / 1.232 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.8461, allocations: 176.3 kB / 1.232 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.8461, allocations: 4.375 kB / 1.232 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.8461, allocations: 8.375 kB / 1.232 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.8463, allocations: 54.19 kB / 1.232 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.8463, allocations: 3.938 kB / 1.232 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.8463, allocations: 0 / 1.232 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8463, allocations: 0 / 1.232 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.8463, allocations: 15.98 kB / 1.232 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.8469, allocations: 352.7 kB / 1.232 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.847, allocations: 38.56 kB / 1.232 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/0.847, allocations: 16.8 kB / 1.232 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.8471, allocations: 4 kB / 1.232 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.8473, allocations: 75.47 kB / 1.232 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.8473, allocations: 0 / 1.232 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002708/0.8476, allocations: 105.6 kB / 1.233 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.8476, allocations: 63.33 kB / 1.233 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.8477, allocations: 113.8 kB / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.487e-05/0.8478, allocations: 29.7 kB / 1.233 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.8479, allocations: 92.09 kB / 1.233 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.8479, allocations: 19.89 kB / 1.233 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.848, allocations: 49.69 kB / 1.233 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8482, allocations: 318.8 kB / 1.233 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.8483, allocations: 60.34 kB / 1.233 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.8485, allocations: 92.25 kB / 1.233 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.8487, allocations: 167.6 kB / 1.234 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.8487, allocations: 8 kB / 1.234 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004425/0.8492, allocations: 260.9 kB / 1.234 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.8493, allocations: 67.39 kB / 1.234 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.8493, allocations: 4 kB / 1.234 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8493, allocations: 0 / 1.234 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.118e-05/0.8493, allocations: 7.938 kB / 1.234 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.8493, allocations: 0 / 1.234 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.8497, allocations: 59.95 kB / 1.234 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.8498, allocations: 15.98 kB / 1.234 GB, free: 12.05 MB / 0.9512 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.0001238/0.8499, allocations: 121.8 kB / 1.234 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.8499, allocations: 7.953 kB / 1.234 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.85, allocations: 8.375 kB / 1.234 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.85, allocations: 0 / 1.234 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.85, allocations: 4 kB / 1.234 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.85, allocations: 3.984 kB / 1.234 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.8502, allocations: 177.6 kB / 1.234 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.8502, allocations: 3.938 kB / 1.234 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.848e-06/0.8502, allocations: 3.984 kB / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8502, allocations: 0 / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.8502, allocations: 4 kB / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.8502, allocations: 3.984 kB / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8502, allocations: 0 / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.8504, allocations: 113 kB / 1.234 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.8505, allocations: 81.09 kB / 1.234 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.8505, allocations: 0 / 1.234 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.863e-05/0.8505, allocations: 4 kB / 1.234 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.8506, allocations: 7.984 kB / 1.234 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.8506, allocations: 7.938 kB / 1.234 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.839e-05/0.8507, allocations: 91.22 kB / 1.235 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.8507, allocations: 0 / 1.235 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002385/0.8509, allocations: 35.92 kB / 1.235 GB, free: 11.29 MB / 0.9512 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.0006602/0.8516, allocations: 0.6673 MB / 1.235 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.852, allocations: 238.7 kB / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.852, allocations: 0 / 1.235 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.629e-05/0.8521, allocations: 36.11 kB / 1.235 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.8523, allocations: 21.86 kB / 1.235 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.8546, allocations: 1.708 MB / 1.237 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.855, allocations: 0.6923 MB / 1.238 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.487e-05/0.855, allocations: 4 kB / 1.238 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.8551, allocations: 19.44 kB / 1.238 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.8551, allocations: 0 / 1.238 GB, free: 7.715 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.8832, allocations: 2.882 MB / 1.241 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/9.198, allocations: 7.047 kB / 1.241 GB, free: 4.934 MB / 0.9512 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.190155393909663]