Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 200.2 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.785/2.785, allocations: 472.6 MB / 0.7448 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.83 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3897, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002697/0.3924, allocations: 1.294 MB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.3933, allocations: 412.9 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.3934, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.233e-05/0.3934, allocations: 0 / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.84e-05/0.3935, allocations: 3.984 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.3941, allocations: 83.8 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.3942, allocations: 23.86 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.3942, allocations: 8 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.3943, allocations: 7.984 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.185e-05/0.3943, allocations: 15.92 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3943, allocations: 0 / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.3945, allocations: 99.84 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.3946, allocations: 7.984 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.3946, allocations: 7.938 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.3948, allocations: 95.75 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3948, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3948, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.3948, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8262 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.0005178/0.3953, allocations: 385.4 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3954, allocations: 8.031 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3954, allocations: 0.9375 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3955, allocations: 172.4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3956, allocations: 384 / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.3956, allocations: 4.375 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3957, allocations: 34.25 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3957, allocations: 192 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3957, allocations: 7.938 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3958, allocations: 0 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.373e-05/0.3958, allocations: 11.94 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.3959, allocations: 157.7 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.396, allocations: 26.58 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.3961, allocations: 12.94 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.3961, allocations: 0 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001398/0.3962, allocations: 63.34 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3962, allocations: 0 / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002027/0.3964, allocations: 73.52 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.3965, allocations: 51.41 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.3965, allocations: 102 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.3966, allocations: 25.7 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.3966, allocations: 88.08 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.3966, allocations: 15.89 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.3967, allocations: 21.72 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.3968, allocations: 314.8 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.3968, allocations: 8 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.565e-05/0.3968, allocations: 39.36 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.958e-05/0.3969, allocations: 43.61 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3969, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.587e-05/0.397, allocations: 69.56 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.397, allocations: 7.938 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.397, allocations: 7.984 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.397, allocations: 0 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.3971, allocations: 8.094 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3971, allocations: 8 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.3972, allocations: 11.84 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.3972, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 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 6.903e-05/0.3972, allocations: 117.7 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.3973, allocations: 3.938 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.3973, allocations: 11.48 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.3973, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3973, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3973, allocations: 8 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.3974, allocations: 149.7 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3974, allocations: 0 / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.3975, allocations: 4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3975, allocations: 3.938 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3975, allocations: 4 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3975, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3975, allocations: 0 / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.3976, allocations: 81.14 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.3977, allocations: 85.02 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3977, allocations: 7.938 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.3977, allocations: 7.922 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.3977, allocations: 0 / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3977, allocations: 4 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.3978, allocations: 79.28 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3978, allocations: 3.938 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002543/0.3981, allocations: 31.98 kB / 1.072 GB, free: 6.094 MB / 0.8262 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.0003525/0.3984, allocations: 166.1 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.3985, allocations: 31.92 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3985, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/0.3986, allocations: 12 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3987, allocations: 6.094 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.399, allocations: 117 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3993, allocations: 0.6768 MB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.3993, allocations: 4 kB / 1.073 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.3993, allocations: 7.438 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.3993, allocations: 4 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.003206/0.4025, allocations: 1.031 MB / 1.074 GB, free: 3.992 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)