Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001568/0.001568, allocations: 110.5 kB / 19.69 MB, free: 2.254 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.001767/0.001767, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [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.002044/0.002044, allocations: 65.42 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3268, allocations: 169.9 MB / 1.285 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001945/0.3287, allocations: 0.6666 MB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3303, allocations: 1.223 MB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.3304, allocations: 0 / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/0.3304, allocations: 3.938 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.242e-05/0.3305, allocations: 15.86 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.3311, allocations: 222.1 kB / 1.287 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000279/0.3314, allocations: 167.8 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.3315, allocations: 8 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.3316, allocations: 67.89 kB / 1.287 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3318, allocations: 71.72 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.3318, allocations: 16 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.3319, allocations: 31.98 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.3319, allocations: 3.938 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.332, allocations: 55.89 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3323, allocations: 159.5 kB / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3323, allocations: 0 / 1.287 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.299e-06/0.3323, allocations: 3.984 kB / 1.287 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.3323, allocations: 0 / 1.287 GB, free: 8.547 MB / 0.9825 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.0005867/0.3329, allocations: 361.5 kB / 1.288 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.333, allocations: 8.031 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.333, allocations: 8.938 kB / 1.288 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.3331, allocations: 114.5 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3331, allocations: 8.375 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.3332, allocations: 8.375 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.3333, allocations: 50.19 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3333, allocations: 192 / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.3333, allocations: 15.92 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3333, allocations: 0 / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.3334, allocations: 12 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3339, allocations: 315.8 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.334, allocations: 46.44 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.334, allocations: 20.94 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.334, allocations: 0 / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/0.3341, allocations: 83.33 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002664/0.3344, allocations: 113.5 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3344, allocations: 55.41 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3346, allocations: 122.1 kB / 1.289 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.3346, allocations: 29.7 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3347, allocations: 88.14 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3347, allocations: 16 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-05/0.3348, allocations: 57.61 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.3349, allocations: 314.8 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3351, allocations: 59.97 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.3352, allocations: 100.2 kB / 1.289 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.3354, allocations: 159.5 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3354, allocations: 0 / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004353/0.3359, allocations: 272.9 kB / 1.29 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.3359, allocations: 63.41 kB / 1.29 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3359, allocations: 4 kB / 1.29 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3359, allocations: 3.984 kB / 1.29 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.336, allocations: 4 kB / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.336, allocations: 0 / 1.29 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.3363, allocations: 51.89 kB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.3363, allocations: 20.08 kB / 1.29 GB, free: 5.746 MB / 0.9825 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,nor1.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.0001121/0.3364, allocations: 129.7 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3364, allocations: 4 kB / 1.29 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.3365, allocations: 4.375 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3365, allocations: 4 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3365, allocations: 0 / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3365, allocations: 0 / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3366, allocations: 152.7 kB / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3366, allocations: 0 / 1.29 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.584e-06/0.3366, allocations: 4 kB / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3366, allocations: 0 / 1.29 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3366, allocations: 4 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3366, allocations: 96 / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3366, allocations: 3.938 kB / 1.29 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.3368, allocations: 117.3 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.3368, allocations: 3.953 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.3368, allocations: 11.92 kB / 1.29 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.3368, allocations: 7.938 kB / 1.29 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.3369, allocations: 11.98 kB / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3369, allocations: 0 / 1.29 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.3369, allocations: 87.28 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3369, allocations: 0 / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002316/0.3372, allocations: 31.98 kB / 1.29 GB, free: 5.109 MB / 0.9825 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,nor1.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.000143/0.3373, allocations: 103.2 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3377, allocations: 226.7 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3377, allocations: 4 kB / 1.291 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.972e-05/0.3377, allocations: 19.98 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.338, allocations: 18.48 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.3384, allocations: 195.5 kB / 1.291 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.3387, allocations: 0.6887 MB / 1.291 GB, free: 3.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.3387, allocations: 15.42 kB / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3387, allocations: 0 / 1.291 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of Templates: time 0.003501/0.3422, allocations: 1.389 MB / 1.293 GB, free: 2.391 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.117570131988032]