Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001286/0.001286, allocations: 116.6 kB / 17.13 MB, free: 6.027 MB / 14.72 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.0014/0.0014, allocations: 208.7 kB / 20.1 MB, free: 3.074 MB / 14.72 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 1.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.96/2.96, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 76.17 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9227, allocations: 176.1 MB / 1.322 GB, free: 25.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001537/0.9242, allocations: 0.6172 MB / 1.323 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000975/0.9252, allocations: 1.147 MB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.9253, allocations: 0 / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.9253, allocations: 2.594 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.226e-05/0.9253, allocations: 11.92 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.9257, allocations: 126.6 kB / 1.324 GB, free: 23.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.9258, allocations: 78.48 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.9259, allocations: 9.906 kB / 1.324 GB, free: 23.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.926, allocations: 31.61 kB / 1.324 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.926, allocations: 32.5 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.9261, allocations: 7.625 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.361e-05/0.9261, allocations: 26.86 kB / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.9261, allocations: 0 / 1.324 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.9262, allocations: 41 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.9263, allocations: 82.39 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9263, allocations: 0 / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9263, allocations: 0 / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.9263, allocations: 0 / 1.324 GB, free: 23.67 MB / 1.061 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.0003466/0.9266, allocations: 373 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.9267, allocations: 14.77 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.9267, allocations: 3.594 kB / 1.324 GB, free: 23.27 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.765e-05/0.9268, allocations: 170.3 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.9268, allocations: 7.125 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.9268, allocations: 3.219 kB / 1.325 GB, free: 23.07 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.262e-05/0.9269, allocations: 43.27 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.9269, allocations: 3.344 kB / 1.325 GB, free: 23.03 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.9269, allocations: 3.938 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.9269, allocations: 0 / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.9269, allocations: 10.22 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002596/0.9272, allocations: 289.7 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/0.9272, allocations: 28.94 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.9272, allocations: 11.39 kB / 1.325 GB, free: 22.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.9272, allocations: 3.938 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.832e-05/0.9273, allocations: 61.05 kB / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9273, allocations: 0 / 1.325 GB, free: 22.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.9275, allocations: 59.33 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.9275, allocations: 55.34 kB / 1.325 GB, free: 22.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/0.9276, allocations: 117.1 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.9276, allocations: 29.7 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.9276, allocations: 85.64 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.945e-06/0.9276, allocations: 10.52 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.9277, allocations: 27.72 kB / 1.325 GB, free: 22.27 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.9277, allocations: 320.7 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.9278, allocations: 27.23 kB / 1.326 GB, free: 21.95 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.9279, allocations: 49.61 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.9279, allocations: 83.53 kB / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9279, allocations: 0 / 1.326 GB, free: 21.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000206/0.9281, allocations: 150.9 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.9282, allocations: 34.86 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.9282, allocations: 0 / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9282, allocations: 7.062 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.404e-05/0.9282, allocations: 0 / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9282, allocations: 3.031 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.9284, allocations: 26 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.9284, allocations: 9.156 kB / 1.326 GB, free: 21.7 MB / 1.061 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 4.794e-05/0.9285, allocations: 112.7 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.9285, allocations: 6.797 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.688e-05/0.9285, allocations: 14.97 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.9285, allocations: 0 / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.9285, allocations: 0 / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.9285, allocations: 2.906 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.204e-05/0.9286, allocations: 156.1 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.9286, allocations: 3.031 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-06/0.9286, allocations: 3.469 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.9286, allocations: 0 / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.9286, allocations: 3.938 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9286, allocations: 3.938 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9286, allocations: 3.156 kB / 1.326 GB, free: 21.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.227e-05/0.9286, allocations: 79.23 kB / 1.327 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.9287, allocations: 87.55 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.9287, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.9287, allocations: 0 / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.9287, allocations: 3.031 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.9287, allocations: 4.297 kB / 1.327 GB, free: 21.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.219e-05/0.9287, allocations: 92.25 kB / 1.327 GB, free: 21.1 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9287, allocations: 4 kB / 1.327 GB, free: 21.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002036/0.9289, allocations: 14.91 kB / 1.327 GB, free: 21.09 MB / 1.061 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.0001114/0.9291, allocations: 103.7 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.9292, allocations: 107.7 kB / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9292, allocations: 0 / 1.327 GB, free: 20.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-05/0.9292, allocations: 12.47 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.9294, allocations: 14.17 kB / 1.327 GB, free: 20.91 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002189/0.9296, allocations: 164 kB / 1.327 GB, free: 20.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.87e-05/0.9297, allocations: 0.6752 MB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.9298, allocations: 10.5 kB / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of SimCode: time 3.41e-07/0.9298, allocations: 0 / 1.328 GB, free: 20.05 MB / 1.061 GB Notification: Performance of Templates: time 0.00213/0.9319, allocations: 0.851 MB / 1.329 GB, free: 19.99 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.370583552008611]