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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 107 kB / 16.4 MB, free: 6.496 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.00199/0.00199, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.451/1.451, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.7171 GB, free: 4.105 MB / 0.5762 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 79.88 kB / 1.027 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9417/0.9445, allocations: 151.6 MB / 1.175 GB, free: 17.55 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001942/0.9465, allocations: 0.6671 MB / 1.175 GB, free: 17.14 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.9479, allocations: 1.181 MB / 1.177 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.948, allocations: 1.156 kB / 1.177 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.948, allocations: 4.641 kB / 1.177 GB, free: 16.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.9481, allocations: 14.94 kB / 1.177 GB, free: 16.26 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.9487, allocations: 215.4 kB / 1.177 GB, free: 16.15 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.949, allocations: 186.5 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.9491, allocations: 11.83 kB / 1.177 GB, free: 16.07 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.342e-05/0.9492, allocations: 74.84 kB / 1.177 GB, free: 16.04 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.9493, allocations: 60.95 kB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.9494, allocations: 15.88 kB / 1.177 GB, free: 16.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.793e-05/0.9495, allocations: 36.53 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.9495, allocations: 6.453 kB / 1.177 GB, free: 16 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.9496, allocations: 55.92 kB / 1.177 GB, free: 15.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.9499, allocations: 157.3 kB / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.9499, allocations: 0 / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.9499, allocations: 1.438 kB / 1.177 GB, free: 15.92 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.9499, allocations: 0 / 1.177 GB, free: 15.92 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.0004814/0.9504, allocations: 434.9 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9504, allocations: 11.05 kB / 1.178 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.9505, allocations: 36.58 kB / 1.178 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.9505, allocations: 15.61 kB / 1.178 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.9506, allocations: 169.6 kB / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.9507, allocations: 5.891 kB / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.9507, allocations: 10.36 kB / 1.178 GB, free: 15.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.9508, allocations: 48.14 kB / 1.178 GB, free: 15.19 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9508, allocations: 9.531 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9509, allocations: 4.797 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.9509, allocations: 0 / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.441e-05/0.9509, allocations: 14.36 kB / 1.178 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.9515, allocations: 362 kB / 1.178 GB, free: 14.86 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.9516, allocations: 30.47 kB / 1.178 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.9517, allocations: 16 kB / 1.178 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.9517, allocations: 5.531 kB / 1.178 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.9519, allocations: 78.23 kB / 1.179 GB, free: 14.76 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.952, allocations: 4 kB / 1.179 GB, free: 14.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003058/0.9523, allocations: 99.78 kB / 1.179 GB, free: 14.71 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.9523, allocations: 57.23 kB / 1.179 GB, free: 14.64 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.9524, allocations: 120 kB / 1.179 GB, free: 14.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.9525, allocations: 34.23 kB / 1.179 GB, free: 14.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.9525, allocations: 94.44 kB / 1.179 GB, free: 14.41 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.9526, allocations: 15.92 kB / 1.179 GB, free: 14.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.9527, allocations: 47.88 kB / 1.179 GB, free: 14.37 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.9528, allocations: 327.9 kB / 1.179 GB, free: 14.05 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.9529, allocations: 59.92 kB / 1.179 GB, free: 14.03 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.9531, allocations: 94.34 kB / 1.179 GB, free: 13.96 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.9533, allocations: 158.1 kB / 1.18 GB, free: 13.83 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.9533, allocations: 0 / 1.18 GB, free: 13.83 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004924/0.9538, allocations: 258.1 kB / 1.18 GB, free: 13.68 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.9539, allocations: 68.83 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.9539, allocations: 2 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.9539, allocations: 1.031 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.712e-05/0.9539, allocations: 7.453 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.9539, allocations: 1.984 kB / 1.18 GB, free: 13.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.9543, allocations: 61.53 kB / 1.18 GB, free: 13.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.9544, allocations: 14.25 kB / 1.18 GB, free: 13.59 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.0001004/0.9545, allocations: 125 kB / 1.18 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.9545, allocations: 7.391 kB / 1.18 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.121e-05/0.9545, allocations: 10.69 kB / 1.18 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.9546, allocations: 5.469 kB / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.485e-06/0.9546, allocations: 0 / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.9546, allocations: 1.844 kB / 1.18 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.9547, allocations: 178.8 kB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9547, allocations: 0 / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.164e-05/0.9548, allocations: 6.266 kB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.9548, allocations: 0 / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.9548, allocations: 2.047 kB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.9548, allocations: 1.953 kB / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.9548, allocations: 0 / 1.18 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.955, allocations: 119.5 kB / 1.18 GB, free: 13.15 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.955, allocations: 84.42 kB / 1.18 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.955, allocations: 1.359 kB / 1.18 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.9551, allocations: 5.469 kB / 1.18 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.9551, allocations: 5.734 kB / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.9551, allocations: 3.172 kB / 1.181 GB, free: 13.05 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.9552, allocations: 90.19 kB / 1.181 GB, free: 12.97 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.252e-06/0.9552, allocations: 0 / 1.181 GB, free: 12.97 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000253/0.9554, allocations: 43.27 kB / 1.181 GB, free: 12.96 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.0004535/0.9559, allocations: 0.65 MB / 1.181 GB, free: 12.34 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.9563, allocations: 243.6 kB / 1.181 GB, free: 12.17 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.9563, allocations: 5.5 kB / 1.182 GB, free: 12.16 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.9564, allocations: 34.33 kB / 1.182 GB, free: 12.15 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.9566, allocations: 20.47 kB / 1.182 GB, free: 12.14 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.9584, allocations: 1.71 MB / 1.183 GB, free: 10.71 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.9585, allocations: 0.6862 MB / 1.184 GB, free: 10.02 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.9586, allocations: 5.25 kB / 1.184 GB, free: 10.02 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.9586, allocations: 25.39 kB / 1.184 GB, free: 9.996 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.9586, allocations: 0 / 1.184 GB, free: 9.996 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/0.9854, allocations: 2.878 MB / 1.187 GB, free: 9.512 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.106/9.091, allocations: 11.97 kB / 1.187 GB, free: 9.504 MB / 0.92 GB " [Timeout remaining time 291] (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 --stepSize=0.002 --timeout=400 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 14.915037281112745]