Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.001861/0.001861, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.002358/0.002358, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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 1.511/1.511, allocations: 177.1 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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 2.85/2.85, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] 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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.091e-05, allocations: 5.266 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.003174/0.003205, allocations: 1.243 MB / 0.7876 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009628/0.004168, allocations: 371.5 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.004196, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.078e-05/0.004216, allocations: 0.8438 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.691e-05/0.004253, allocations: 0 / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.004932, allocations: 113.6 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.473e-05/0.005007, allocations: 15.97 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.00504, allocations: 0 / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.005084, allocations: 15.92 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.855e-05/0.005113, allocations: 4 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.005128, allocations: 1.031 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002975/0.005426, allocations: 123.7 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.005443, allocations: 4 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.005476, allocations: 4.984 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.005716, allocations: 99.73 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.005719, allocations: 1.062 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.00572, allocations: 3.938 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.005725, allocations: 0 / 0.7883 GB, free: 10.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005501/0.006275, allocations: 297.5 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.006312, allocations: 8.031 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.006367, allocations: 4.938 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.006483, allocations: 103.7 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.006515, allocations: 4.375 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.006526, allocations: 8.312 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.006655, allocations: 34.25 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.006663, allocations: 192 / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.006674, allocations: 2.656 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.006678, allocations: 4.375 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.006722, allocations: 7.922 kB / 0.7887 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.006889, allocations: 101.3 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.00699, allocations: 31.22 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.007026, allocations: 12.8 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.007039, allocations: 0.5938 kB / 0.7889 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.007238, allocations: 65.09 kB / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.007239, allocations: 0 / 0.7889 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002781/0.007517, allocations: 65.67 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.007594, allocations: 61.09 kB / 0.7891 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.007699, allocations: 97.8 kB / 0.7891 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.007721, allocations: 25.7 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.007778, allocations: 84.14 kB / 0.7893 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.007804, allocations: 8.797 kB / 0.7893 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.007852, allocations: 25.69 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.008036, allocations: 314.8 kB / 0.7896 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.098e-05/0.008067, allocations: 16.67 kB / 0.7896 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.614e-05/0.008113, allocations: 36.78 kB / 0.7896 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.652e-05/0.00819, allocations: 39.38 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008192, allocations: 2.375 kB / 0.7897 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001308/0.008323, allocations: 81.73 kB / 0.7898 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.008344, allocations: 8 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008349, allocations: 0 / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.00837, allocations: 0.7188 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.508e-05/0.008445, allocations: 11.94 kB / 0.7898 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.008457, allocations: 4.469 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.008489, allocations: 7.938 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.008497, allocations: 1.656 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.000109/0.008606, allocations: 117.8 kB / 0.7899 GB, free: 9 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.008621, allocations: 4 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.008651, allocations: 4.344 kB / 0.7899 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008653, allocations: 0 / 0.7899 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.008658, allocations: 1.281 kB / 0.7899 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.008665, allocations: 3.938 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.008792, allocations: 105.3 kB / 0.79 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008793, allocations: 0 / 0.79 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.008808, allocations: 5.156 kB / 0.79 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.00881, allocations: 0 / 0.79 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.008817, allocations: 3.938 kB / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.008818, allocations: 1.375 kB / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008819, allocations: 0 / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.00899, allocations: 93 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.008996, allocations: 0.9062 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.009008, allocations: 4 kB / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.009029, allocations: 0 / 0.7901 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.009066, allocations: 4.828 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.009074, allocations: 4 kB / 0.7901 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.511e-05/0.00913, allocations: 80.5 kB / 0.7902 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.00913, allocations: 0 / 0.7902 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002737/0.009403, allocations: 27.94 kB / 0.7902 GB, free: 8.617 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0004711/0.009874, allocations: 184.1 kB / 0.7904 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01, allocations: 27.92 kB / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01, allocations: 0 / 0.7904 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.01005, allocations: 13 kB / 0.7904 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.0102, allocations: 8 kB / 0.7905 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.01054, allocations: 108 kB / 0.7906 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.01061, allocations: 59.34 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.01063, allocations: 4 kB / 0.7906 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.01065, allocations: 8.5 kB / 0.7906 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01065, allocations: 0 / 0.7906 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.004088/0.01474, allocations: 0.9938 MB / 0.7916 GB, free: 7.215 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:seed,t0,time,y [Calling sys.exit(0), Time elapsed: 7.920189447933808]