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.00126/0.00126, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001397/0.001397, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 1.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.851/1.851, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.957e-06/3.957e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/3.074e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001446/0.001477, allocations: 0.6619 MB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.002697, allocations: 1.234 MB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.002746, allocations: 0 / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.00278, allocations: 8.547 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.002852, allocations: 7.875 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.00342, allocations: 209.7 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.00362, allocations: 171.7 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.003734, allocations: 8.562 kB / 0.7894 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001513/0.003885, allocations: 100.5 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.004006, allocations: 51.84 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.004036, allocations: 16.91 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.67e-05/0.004102, allocations: 20 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.004127, allocations: 16.58 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.642e-05/0.004193, allocations: 51.95 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.004383, allocations: 132.4 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004387, allocations: 3.938 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004388, allocations: 1.656 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004392, allocations: 0 / 0.7897 GB, free: 10.11 MB / 0.7448 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.0004999/0.004892, allocations: 467.8 kB / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.004932, allocations: 8.031 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.004999, allocations: 14.23 kB / 0.7902 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.005095, allocations: 124.5 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.005112, allocations: 4.375 kB / 0.7903 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.005138, allocations: 16.38 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.005234, allocations: 39.84 kB / 0.7904 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.005241, allocations: 192 / 0.7904 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.005254, allocations: 8.359 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.005264, allocations: 384 / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.763e-05/0.005292, allocations: 12.5 kB / 0.7904 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.005718, allocations: 327.7 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.859e-05/0.005807, allocations: 38.48 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.005831, allocations: 11.69 kB / 0.7908 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.005839, allocations: 0 / 0.7908 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001319/0.005971, allocations: 92.98 kB / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.005972, allocations: 0 / 0.7908 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002496/0.006222, allocations: 109.5 kB / 0.7909 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.006267, allocations: 51.41 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006369, allocations: 181.8 kB / 0.7912 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.006393, allocations: 30.23 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.006464, allocations: 139.4 kB / 0.7913 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.006486, allocations: 15.91 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.455e-05/0.006561, allocations: 56.22 kB / 0.7914 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.00669, allocations: 496.1 kB / 0.7919 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.006809, allocations: 108.2 kB / 0.792 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.006942, allocations: 161.8 kB / 0.7921 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.007084, allocations: 159.7 kB / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007086, allocations: 0 / 0.7923 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003302/0.007417, allocations: 333.3 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.643e-05/0.007473, allocations: 68.08 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.007479, allocations: 0 / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.007498, allocations: 4.688 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.347e-05/0.007521, allocations: 3.938 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.00753, allocations: 5.25 kB / 0.7927 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.007735, allocations: 36.64 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.007758, allocations: 8 kB / 0.7927 GB, free: 6.719 MB / 0.7448 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.0001003/0.007858, allocations: 174.8 kB / 0.7929 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/0.007876, allocations: 11.89 kB / 0.7929 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.007904, allocations: 12.44 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.007908, allocations: 0 / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.007913, allocations: 0 / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007917, allocations: 3.312 kB / 0.7929 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.951e-05/0.008016, allocations: 128.6 kB / 0.793 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.00802, allocations: 3.984 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.008025, allocations: 3.938 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008027, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.008037, allocations: 7.938 kB / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.008039, allocations: 0 / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008041, allocations: 0 / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.008168, allocations: 116.4 kB / 0.7932 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.008178, allocations: 8.984 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.008191, allocations: 3.938 kB / 0.7932 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.008207, allocations: 3.938 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.008253, allocations: 8.484 kB / 0.7932 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.008264, allocations: 8.625 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.774e-05/0.008312, allocations: 135.7 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.008312, allocations: 0 / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001823/0.008495, allocations: 33.19 kB / 0.7934 GB, free: 6.012 MB / 0.7448 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.0001818/0.008676, allocations: 104 kB / 0.7935 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.008979, allocations: 279.1 kB / 0.7937 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.008981, allocations: 0 / 0.7937 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.00902, allocations: 27.67 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.009235, allocations: 18.02 kB / 0.7938 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.009577, allocations: 163.5 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/0.009736, allocations: 58.41 kB / 0.794 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.067e-05/0.009767, allocations: 8.922 kB / 0.794 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.009789, allocations: 12.5 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of SimCode: time 1.103e-06/0.00979, allocations: 1.219 kB / 0.794 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.003883/0.01367, allocations: 2.045 MB / 0.796 GB, free: 3.273 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.301952000940219]