Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.457/1.457, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009521/0.0009522, allocations: 176.5 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008111/0.0008111, allocations: 93.75 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 12.12 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2338, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.001583/0.2354, allocations: 1.145 MB / 0.8979 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.2359, allocations: 197 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.2359, allocations: 0 / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.236, allocations: 4 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.236, allocations: 7.938 kB / 0.8981 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001597/0.2362, allocations: 11.98 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.2363, allocations: 43.8 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2364, allocations: 11.98 kB / 0.8981 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.2365, allocations: 12 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.2365, allocations: 19.91 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2366, allocations: 0 / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.319e-05/0.2366, allocations: 4 kB / 0.8982 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.2366, allocations: 15.86 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.2367, allocations: 15.92 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.573e-05/0.2367, allocations: 28.16 kB / 0.8982 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2367, allocations: 0 / 0.8982 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2367, allocations: 4 kB / 0.8982 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2368, allocations: 0 / 0.8982 GB, free: 66.59 MB / 0.6042 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.0004499/0.2372, allocations: 363.4 kB / 0.8986 GB, free: 66.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2373, allocations: 12.03 kB / 0.8986 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.2373, allocations: 4.875 kB / 0.8986 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.2374, allocations: 172.2 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.2374, allocations: 4.359 kB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2374, allocations: 384 / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2377, allocations: 86.16 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2377, allocations: 192 / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2377, allocations: 3.938 kB / 0.8989 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2377, allocations: 4 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.238, allocations: 83.92 kB / 0.8989 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.2383, allocations: 265 kB / 0.8992 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.2385, allocations: 74.42 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.2386, allocations: 52.91 kB / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.209e-05/0.2387, allocations: 0 / 0.8993 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.2387, allocations: 30.56 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2387, allocations: 0 / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005173/0.2392, allocations: 173.7 kB / 0.8995 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.2393, allocations: 59.34 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.2394, allocations: 109.8 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2394, allocations: 29.7 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.2394, allocations: 84.14 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.2394, allocations: 7.844 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.2395, allocations: 17.72 kB / 0.8998 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.324e-05/0.2395, allocations: 318.8 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2397, allocations: 39.97 kB / 0.9001 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2398, allocations: 47.95 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.2401, allocations: 84.8 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2401, allocations: 3.938 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002887/0.2404, allocations: 125.5 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2404, allocations: 7.938 kB / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2404, allocations: 0 / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2404, allocations: 0 / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2405, allocations: 23.98 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2406, allocations: 0 / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.2406, allocations: 19.98 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.2407, allocations: 11.94 kB / 0.9005 GB, free: 64.09 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.033e-05/0.2407, allocations: 113.8 kB / 0.9006 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.2408, allocations: 7.938 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.2408, allocations: 7.906 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2408, allocations: 4 kB / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2408, allocations: 0 / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2408, allocations: 0 / 0.9006 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.2409, allocations: 169.6 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.241, allocations: 0 / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2411, allocations: 23.97 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2411, allocations: 0 / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.2411, allocations: 0 / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2411, allocations: 8 kB / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2411, allocations: 0 / 0.9008 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.2414, allocations: 219.3 kB / 0.901 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.074e-05/0.2414, allocations: 81.09 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2415, allocations: 4 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.2416, allocations: 15.98 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.2416, allocations: 11.98 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.2416, allocations: 0 / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.559e-05/0.2417, allocations: 87.28 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2417, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001937/0.2419, allocations: 4 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000133/0.242, allocations: 99.25 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.2423, allocations: 91.91 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2423, allocations: 4 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2425, allocations: 47.91 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.2428, allocations: 11.94 kB / 0.9014 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.243, allocations: 168.7 kB / 0.9016 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.2432, allocations: 0.677 MB / 0.9022 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.2432, allocations: 15.44 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of SimCode: time 3.4e-07/0.2432, allocations: 0 / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.001755/0.245, allocations: 0.7408 MB / 0.903 GB, free: 61.35 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)