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.001287/0.001287, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001417/0.001417, allocations: 168.9 kB / 24.87 MB, free: 8.898 MB / 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 0.9279/0.9279, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.948/1.948, allocations: 359 MB / 0.6063 GB, free: 10.86 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 1.964e-06/1.964e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.452e-05, allocations: 3.094 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001298/0.001323, allocations: 0.6631 MB / 0.789 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002616, allocations: 1.238 MB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.002655, allocations: 0 / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.00268, allocations: 4.625 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.813e-05/0.002759, allocations: 16.94 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.003196, allocations: 209 kB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/0.003368, allocations: 175.7 kB / 0.7906 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.643e-05/0.003444, allocations: 10.3 kB / 0.7906 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.003548, allocations: 95.86 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.003645, allocations: 47.91 kB / 0.7907 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.003671, allocations: 16 kB / 0.7907 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.003734, allocations: 27.98 kB / 0.7908 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.003756, allocations: 11.94 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.003805, allocations: 49.84 kB / 0.7908 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.003955, allocations: 139.6 kB / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003958, allocations: 0 / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003958, allocations: 0 / 0.7909 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.003963, allocations: 0 / 0.7909 GB, free: 9.504 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.0003605/0.004323, allocations: 459.8 kB / 0.7914 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.004356, allocations: 17.55 kB / 0.7914 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.004398, allocations: 12.89 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.516e-05/0.004473, allocations: 124.4 kB / 0.7915 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004485, allocations: 4.375 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.004504, allocations: 9.469 kB / 0.7915 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.432e-05/0.004568, allocations: 46.23 kB / 0.7916 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.004575, allocations: 192 / 0.7916 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.004581, allocations: 1.062 kB / 0.7916 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004585, allocations: 1.406 kB / 0.7916 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.593e-05/0.004601, allocations: 11.94 kB / 0.7916 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002879/0.004889, allocations: 312.2 kB / 0.7919 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/0.004944, allocations: 37.64 kB / 0.7919 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.004958, allocations: 11.69 kB / 0.792 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-06/0.004963, allocations: 0 / 0.792 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.988e-05/0.005053, allocations: 89.03 kB / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 6.42e-07/0.005053, allocations: 0 / 0.792 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001567/0.00521, allocations: 85.56 kB / 0.7921 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.005238, allocations: 56.12 kB / 0.7922 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.005312, allocations: 181.8 kB / 0.7923 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.005332, allocations: 30.23 kB / 0.7924 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.005384, allocations: 140.5 kB / 0.7925 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.005397, allocations: 15.89 kB / 0.7925 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.239e-05/0.005459, allocations: 51.33 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.005576, allocations: 0.4923 MB / 0.7931 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.003e-05/0.005666, allocations: 103.3 kB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.636e-05/0.005763, allocations: 146.4 kB / 0.7933 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.005875, allocations: 159.7 kB / 0.7934 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005877, allocations: 0 / 0.7934 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002746/0.006152, allocations: 305.6 kB / 0.7937 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.526e-05/0.006197, allocations: 71.33 kB / 0.7938 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006203, allocations: 5.75 kB / 0.7938 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.394e-06/0.006211, allocations: 0 / 0.7938 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-05/0.006232, allocations: 12 kB / 0.7938 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.006235, allocations: 0 / 0.7938 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.006396, allocations: 36.81 kB / 0.7939 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.00642, allocations: 20.81 kB / 0.7939 GB, free: 6.195 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 7.606e-05/0.006496, allocations: 169.8 kB / 0.794 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.006509, allocations: 11.94 kB / 0.794 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.911e-05/0.006528, allocations: 12.38 kB / 0.7941 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.00653, allocations: 0.8438 kB / 0.7941 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.006533, allocations: 4 kB / 0.7941 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006535, allocations: 0 / 0.7941 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.085e-05/0.006616, allocations: 110.4 kB / 0.7942 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006617, allocations: 0 / 0.7942 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-06/0.006622, allocations: 0 / 0.7942 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006624, allocations: 1.375 kB / 0.7942 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.006629, allocations: 4 kB / 0.7942 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006631, allocations: 3.938 kB / 0.7942 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.006634, allocations: 7.922 kB / 0.7942 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.709e-05/0.006731, allocations: 114.1 kB / 0.7943 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-06/0.006738, allocations: 7.938 kB / 0.7943 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006748, allocations: 4 kB / 0.7943 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.006759, allocations: 2.906 kB / 0.7943 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.449e-05/0.006784, allocations: 7.922 kB / 0.7943 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006788, allocations: 4 kB / 0.7943 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.006825, allocations: 139.2 kB / 0.7945 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006825, allocations: 0 / 0.7945 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001609/0.006986, allocations: 24 kB / 0.7945 GB, free: 5.531 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.0001118/0.007098, allocations: 111.6 kB / 0.7946 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.007305, allocations: 263.8 kB / 0.7948 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.007307, allocations: 0 / 0.7948 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/0.007333, allocations: 31.59 kB / 0.7949 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.007494, allocations: 17.39 kB / 0.7949 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.007714, allocations: 159.4 kB / 0.795 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.886e-05/0.007743, allocations: 62.16 kB / 0.7951 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.007762, allocations: 4 kB / 0.7951 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.007862, allocations: 106.2 kB / 0.7952 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.007863, allocations: 0 / 0.7952 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of Templates: time 0.003909/0.01177, allocations: 2.279 MB / 0.7974 GB, free: 2.477 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.155279138125479]