Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.00146/0.00146, allocations: 105 kB / 16.45 MB, free: 6.504 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.001376/0.001376, allocations: 191.7 kB / 19.4 MB, free: 3.68 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.717/2.717, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 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.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 71.89 kB / 1.056 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001799/1.006, allocations: 0.6162 MB / 1.214 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001442/1.007, allocations: 1.122 MB / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/1.008, allocations: 0 / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.215e-05/1.008, allocations: 0 / 1.215 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.632e-05/1.008, allocations: 5.031 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/1.008, allocations: 128.5 kB / 1.215 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/1.008, allocations: 85.44 kB / 1.215 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/1.008, allocations: 10.19 kB / 1.215 GB, free: 2.367 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/1.008, allocations: 32.39 kB / 1.215 GB, free: 2.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.532e-05/1.008, allocations: 35.78 kB / 1.215 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/1.008, allocations: 11.81 kB / 1.215 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/1.009, allocations: 21.98 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/1.009, allocations: 2.344 kB / 1.215 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/1.009, allocations: 36.8 kB / 1.215 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/1.009, allocations: 76.81 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.009, allocations: 4.781 kB / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/1.009, allocations: 0 / 1.215 GB, free: 2.227 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.067e-05/1.009, allocations: 4.781 kB / 1.215 GB, free: 2.223 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004948/1.009, allocations: 375.9 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.009, allocations: 9.875 kB / 1.215 GB, free: 1.816 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/1.009, allocations: 39.64 kB / 1.215 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/1.009, allocations: 8.547 kB / 1.215 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/1.01, allocations: 165.6 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/1.01, allocations: 2.781 kB / 1.216 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/1.01, allocations: 9.281 kB / 1.216 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.996e-05/1.01, allocations: 44.09 kB / 1.216 GB, free: 1.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/1.01, allocations: 3.938 kB / 1.216 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.01, allocations: 3.984 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/1.01, allocations: 1.188 kB / 1.216 GB, free: 1.512 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/1.01, allocations: 12.48 kB / 1.216 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/1.01, allocations: 286.8 kB / 1.216 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/1.01, allocations: 21.8 kB / 1.216 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.091e-05/1.01, allocations: 15.17 kB / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/1.01, allocations: 0 / 1.216 GB, free: 1.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/1.01, allocations: 54.05 kB / 1.216 GB, free: 1.094 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.01, allocations: 0 / 1.216 GB, free: 1.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001926/1.011, allocations: 71.53 kB / 1.216 GB, free: 1.039 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.011, allocations: 51.41 kB / 1.216 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/1.011, allocations: 109.1 kB / 1.216 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/1.011, allocations: 27.89 kB / 1.216 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/1.011, allocations: 86.09 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/1.011, allocations: 5.078 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/1.011, allocations: 30.39 kB / 1.216 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.011, allocations: 320 kB / 1.217 GB, free: 412 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/1.011, allocations: 26.55 kB / 1.217 GB, free: 400 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/1.011, allocations: 55.67 kB / 1.217 GB, free: 352 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/1.011, allocations: 83.7 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/1.011, allocations: 1.219 kB / 1.217 GB, free: 272 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002519/1.012, allocations: 142.5 kB / 1.217 GB, free: 168 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.331e-05/1.012, allocations: 37.36 kB / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.012, allocations: 1 kB / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.012, allocations: 1.031 kB / 1.217 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/1.012, allocations: 5.219 kB / 1.217 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.012, allocations: 1.031 kB / 1.217 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/1.012, allocations: 32.25 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/1.012, allocations: 5.125 kB / 1.217 GB, free: 112 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001156/1.012, allocations: 117.8 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/1.012, allocations: 2.344 kB / 1.217 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/1.012, allocations: 4.594 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/1.012, allocations: 7.938 kB / 1.217 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/1.012, allocations: 9.203 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.012, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/1.012, allocations: 159 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.012, allocations: 0.8125 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/1.012, allocations: 4.688 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/1.012, allocations: 0 / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/1.012, allocations: 1.438 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.012, allocations: 0 / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.012, allocations: 0.8125 kB / 1.217 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/1.012, allocations: 90.67 kB / 1.217 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/1.012, allocations: 82.25 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/1.012, allocations: 1.219 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.305e-05/1.012, allocations: 0 / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/1.012, allocations: 5.625 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/1.012, allocations: 5.047 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.344e-05/1.012, allocations: 80.31 kB / 1.218 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.012, allocations: 0 / 1.218 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000217/1.013, allocations: 21.47 kB / 1.218 GB, free: 15.48 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005067/1.013, allocations: 0.6258 MB / 1.218 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002242/1.013, allocations: 108.3 kB / 1.218 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.013, allocations: 5 kB / 1.218 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/1.013, allocations: 6.188 kB / 1.218 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.014, allocations: 16.2 kB / 1.218 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/1.015, allocations: 1.347 MB / 1.22 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/1.015, allocations: 0.682 MB / 1.22 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.059e-05/1.015, allocations: 1.688 kB / 1.22 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/1.015, allocations: 21.61 kB / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.015, allocations: 0 / 1.22 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/1.04, allocations: 1.926 MB / 1.222 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/9.05, allocations: 12.52 kB / 1.222 GB, free: 11.69 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.027066157665104]