Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007523/0.0007523, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007903/0.0007903, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9107/0.9107, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.748/1.748, allocations: 377.9 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.177e-05, allocations: 2.281 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001388/0.00141, allocations: 0.6452 MB / 0.9816 GB, free: 1.91 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001198/0.002607, allocations: 1.205 MB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.002652, allocations: 3.938 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.00268, allocations: 7.938 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.002749, allocations: 11.92 kB / 0.9828 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.003304, allocations: 215.2 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.00349, allocations: 175.7 kB / 0.9832 GB, free: 300 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.473e-05/0.003585, allocations: 15.92 kB / 0.9832 GB, free: 284 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.003698, allocations: 95.86 kB / 0.9833 GB, free: 188 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.003801, allocations: 51.91 kB / 0.9833 GB, free: 136 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.003825, allocations: 16 kB / 0.9834 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.003888, allocations: 23.98 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.003909, allocations: 11.94 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 5.786e-05/0.003967, allocations: 51.88 kB / 0.9834 GB, free: 32 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.004182, allocations: 183.6 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004184, allocations: 0 / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004186, allocations: 0 / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.004191, allocations: 0 / 0.9836 GB, free: 15.85 MB / 0.948 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.0004107/0.004601, allocations: 357.6 kB / 0.984 GB, free: 15.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.004643, allocations: 12.03 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.004668, allocations: 34.75 kB / 0.984 GB, free: 15.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.00471, allocations: 12.89 kB / 0.984 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.247e-05/0.004793, allocations: 113.7 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.004808, allocations: 8.359 kB / 0.9841 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.004829, allocations: 12.38 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.004926, allocations: 46.25 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004934, allocations: 4.125 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.004943, allocations: 4.375 kB / 0.9842 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.004949, allocations: 8.125 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.455e-05/0.004983, allocations: 19.92 kB / 0.9842 GB, free: 15.15 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.00535, allocations: 287.9 kB / 0.9845 GB, free: 14.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.005419, allocations: 38.55 kB / 0.9845 GB, free: 14.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.175e-05/0.005441, allocations: 16.8 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.00545, allocations: 3.938 kB / 0.9846 GB, free: 14.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.005582, allocations: 75.47 kB / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.005583, allocations: 0 / 0.9846 GB, free: 14.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002236/0.005807, allocations: 105.6 kB / 0.9847 GB, free: 14.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.005848, allocations: 63.33 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.005926, allocations: 117.8 kB / 0.9849 GB, free: 14.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.005953, allocations: 33.7 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.006003, allocations: 96.03 kB / 0.985 GB, free: 14.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.006018, allocations: 15.89 kB / 0.985 GB, free: 14.21 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.006077, allocations: 45.69 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.00616, allocations: 318.8 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.00628, allocations: 123.4 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.006397, allocations: 151.7 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.006527, allocations: 163.6 kB / 0.9858 GB, free: 13.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.00653, allocations: 7.938 kB / 0.9858 GB, free: 13.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002956/0.006826, allocations: 320.7 kB / 0.9861 GB, free: 12.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.006869, allocations: 71.33 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.006875, allocations: 4.312 kB / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.006887, allocations: 0 / 0.9862 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.25e-05/0.00691, allocations: 11.92 kB / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.006916, allocations: 0 / 0.9862 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.007109, allocations: 56 kB / 0.9863 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.00713, allocations: 15.98 kB / 0.9863 GB, free: 12.82 MB / 0.948 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.164e-05/0.007212, allocations: 129.8 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.007222, allocations: 3.953 kB / 0.9864 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.00725, allocations: 12.44 kB / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.007253, allocations: 0 / 0.9864 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.007258, allocations: 4 kB / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007262, allocations: 0 / 0.9864 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.007367, allocations: 148.7 kB / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.007369, allocations: 0 / 0.9866 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-06/0.007378, allocations: 7.938 kB / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007379, allocations: 0 / 0.9866 GB, free: 12.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.007387, allocations: 4.062 kB / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007389, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.00739, allocations: 0 / 0.9866 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.007503, allocations: 117 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.007509, allocations: 0 / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.00752, allocations: 3.984 kB / 0.9867 GB, free: 12.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.485e-05/0.007535, allocations: 8 kB / 0.9867 GB, free: 12.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.007569, allocations: 7.984 kB / 0.9867 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007575, allocations: 4 kB / 0.9867 GB, free: 12.31 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.007608, allocations: 87.28 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.007608, allocations: 7.875 kB / 0.9868 GB, free: 12.21 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001577/0.007766, allocations: 35.94 kB / 0.9868 GB, free: 12.18 MB / 0.948 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.0003503/0.008116, allocations: 0.6581 MB / 0.9875 GB, free: 11.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.008385, allocations: 274.3 kB / 0.9877 GB, free: 11.19 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.008388, allocations: 8.062 kB / 0.9877 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.061e-05/0.008418, allocations: 19.94 kB / 0.9878 GB, free: 11.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.008603, allocations: 20.2 kB / 0.9878 GB, free: 11.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.01021, allocations: 1.96 MB / 0.9897 GB, free: 9.012 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.461e-05/0.01026, allocations: 71.28 kB / 0.9898 GB, free: 8.922 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.973e-05/0.01029, allocations: 11.98 kB / 0.9898 GB, free: 8.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.01033, allocations: 16.5 kB / 0.9898 GB, free: 8.895 MB / 0.948 GB Notification: Performance of SimCode: time 9.91e-07/0.01033, allocations: 0 / 0.9898 GB, free: 8.895 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01865/0.02898, allocations: 3.764 MB / 0.9935 GB, free: 5.324 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.706/6.735, allocations: 2.969 kB / 0.9935 GB, free: 5.324 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Nand.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable nand1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! Error: Could not read variable nand1.y in file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv. Warning: Get data of variable nand1.y from file Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.94683570601046]