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.Abs.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 267.3 MB, free: 10.84 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.001251/0.001252, allocations: 181 kB / 327 MB, free: 2.102 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.785/1.785, allocations: 205.4 MB / 0.578 GB, free: 20.12 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.0007528/0.0007529, allocations: 84.2 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003662, allocations: 14.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2298, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001561/0.2314, allocations: 1.098 MB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.2318, allocations: 164.4 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.342e-05/0.2319, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.2319, allocations: 7.938 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.075e-05/0.232, allocations: 0 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.2321, allocations: 11.98 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.468e-05/0.2322, allocations: 23.92 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.2323, allocations: 4 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.2324, allocations: 7.938 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.2324, allocations: 7.984 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2325, allocations: 4 kB / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-06/0.2325, allocations: 0 / 0.9022 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.2325, allocations: 7.938 kB / 0.9022 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.2325, allocations: 33.69 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.898e-05/0.2326, allocations: 23.89 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2326, allocations: 4 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2326, allocations: 0 / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2327, allocations: 0 / 0.9023 GB, free: 61.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004379/0.2331, allocations: 331.6 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2332, allocations: 12.03 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.2332, allocations: 30.75 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.2332, allocations: 4.938 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.2333, allocations: 168.5 kB / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.2333, allocations: 384 / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.2334, allocations: 384 / 0.9028 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.2335, allocations: 58.23 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2336, allocations: 7.938 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.2336, allocations: 4 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2336, allocations: 7.984 kB / 0.9029 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.2338, allocations: 47.89 kB / 0.9029 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.2341, allocations: 248.9 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2342, allocations: 54.41 kB / 0.9032 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.2343, allocations: 28.91 kB / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.2343, allocations: 0 / 0.9033 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2344, allocations: 34.56 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2344, allocations: 0 / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.2347, allocations: 105.7 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.2347, allocations: 51.41 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.2348, allocations: 101.8 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2348, allocations: 25.7 kB / 0.9036 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.275e-05/0.2349, allocations: 80.14 kB / 0.9036 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.2349, allocations: 7.906 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.2349, allocations: 0 / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.235, allocations: 314.8 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.235, allocations: 24.02 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.2351, allocations: 23.97 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.2353, allocations: 48.89 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2353, allocations: 3.938 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.2355, allocations: 81.59 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2355, allocations: 8 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.2355, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2355, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.2356, allocations: 11.98 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2357, allocations: 0 / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.2357, allocations: 8 kB / 0.9041 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2357, allocations: 0 / 0.9041 GB, free: 59.86 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 (2): * Single equations (assignments): 2 * 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.722e-05/0.2358, allocations: 121.8 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.2358, allocations: 7.906 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.2359, allocations: 3.125 kB / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2359, allocations: 0 / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2359, allocations: 0 / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2359, allocations: 0 / 0.9043 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.236, allocations: 157.6 kB / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.236, allocations: 0 / 0.9044 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.2361, allocations: 19.98 kB / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2361, allocations: 0 / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.2361, allocations: 0 / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2361, allocations: 3.938 kB / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2361, allocations: 0 / 0.9044 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.2363, allocations: 179.4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.005e-05/0.2364, allocations: 81.11 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.2364, allocations: 7.922 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.2365, allocations: 4 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2365, allocations: 4 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2365, allocations: 3.984 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.457e-05/0.2366, allocations: 87.31 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2366, allocations: 0 / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002033/0.2368, allocations: 4 kB / 0.9048 GB, free: 59.09 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 (2): * Single equations (assignments): 2 * 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.0004633/0.2373, allocations: 0.7123 MB / 0.9055 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001977/0.2375, allocations: 43.95 kB / 0.9055 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2375, allocations: 8.094 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.349e-05/0.2376, allocations: 19.98 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.2379, allocations: 7.844 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.2383, allocations: 134.4 kB / 0.9057 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.2384, allocations: 0.681 MB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.2385, allocations: 4 kB / 0.9064 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.2385, allocations: 11.38 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.2385, allocations: 0 / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01135/0.2499, allocations: 1.025 MB / 0.9074 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.2501, allocations: 213.5 kB / 0.9076 GB, free: 56.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/2.019, allocations: 0 / 0.9076 GB, free: 56.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1)