Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 102.9 kB / 16.27 MB, free: 5.973 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.00191/0.001911, allocations: 190.9 kB / 17.2 MB, free: 5.598 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.367/1.367, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.23 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2958, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003681/0.2995, allocations: 1.916 MB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00461/0.3041, allocations: 3.444 MB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3043, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.3047, allocations: 51.61 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.3053, allocations: 135.3 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.3054, allocations: 23.97 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.3057, allocations: 167.2 kB / 1.024 GB, free: 4.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3058, allocations: 29.67 kB / 1.024 GB, free: 4.859 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.3061, allocations: 79.69 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.3063, allocations: 75.62 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.3063, allocations: 8 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3064, allocations: 27.92 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3065, allocations: 43.83 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3066, allocations: 79.53 kB / 1.024 GB, free: 4.551 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.3069, allocations: 167.2 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3069, allocations: 4 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3069, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.3069, allocations: 0 / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009325/0.3078, allocations: 0.4906 MB / 1.025 GB, free: 3.844 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3079, allocations: 12.03 kB / 1.025 GB, free: 3.832 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.308, allocations: 24.66 kB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.3084, allocations: 234.9 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.3084, allocations: 384 / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.3084, allocations: 4.375 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.3088, allocations: 149.5 kB / 1.025 GB, free: 3.383 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3088, allocations: 4 kB / 1.025 GB, free: 3.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3088, allocations: 4 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.3089, allocations: 11.98 kB / 1.025 GB, free: 3.363 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.3093, allocations: 131.9 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007632/0.3101, allocations: 436.6 kB / 1.025 GB, free: 2.758 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.3105, allocations: 162.4 kB / 1.026 GB, free: 2.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.3108, allocations: 104.8 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3108, allocations: 11.91 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.3109, allocations: 38.56 kB / 1.026 GB, free: 2.426 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3109, allocations: 3.938 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.000876/0.3117, allocations: 282.2 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3118, allocations: 51.41 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.312, allocations: 209 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.3121, allocations: 29.7 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.3122, allocations: 120 kB / 1.026 GB, free: 1.707 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.3122, allocations: 51.3 kB / 1.027 GB, free: 1.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.3123, allocations: 29.7 kB / 1.027 GB, free: 1.621 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3124, allocations: 334.8 kB / 1.027 GB, free: 1.285 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.3127, allocations: 67.94 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.3129, allocations: 76.56 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.3134, allocations: 154 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3134, allocations: 0 / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000538/0.3139, allocations: 212.6 kB / 1.027 GB, free: 0.7812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3139, allocations: 8 kB / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.314, allocations: 0 / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.314, allocations: 0 / 1.027 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3142, allocations: 35.95 kB / 1.027 GB, free: 0.7383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3143, allocations: 3.984 kB / 1.027 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.3144, allocations: 19.98 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.3144, allocations: 4 kB / 1.027 GB, free: 0.7109 MB / 0.795 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 (13): * Single equations (assignments): 13 * 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.0001307/0.3146, allocations: 132.2 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.3146, allocations: 19.72 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.3147, allocations: 37.77 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.3147, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3147, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3147, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.315, allocations: 265.4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3151, allocations: 4 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.3153, allocations: 31.97 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.3153, allocations: 0 / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.3153, allocations: 4 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3153, allocations: 7.984 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3153, allocations: 0 / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006282/0.316, allocations: 315.1 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3161, allocations: 104.9 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.3161, allocations: 3.938 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3163, allocations: 19.97 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.3164, allocations: 7.984 kB / 1.028 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3164, allocations: 4 kB / 1.028 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000135/0.3166, allocations: 164.4 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3166, allocations: 0 / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002907/0.3169, allocations: 39.92 kB / 1.029 GB, free: 15.49 MB / 0.8106 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 (13): * Single equations (assignments): 13 * 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.0001603/0.317, allocations: 107.2 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005613/0.3176, allocations: 183.8 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3176, allocations: 4 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.3179, allocations: 91.88 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3183, allocations: 22.16 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008845/0.3192, allocations: 447.6 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.3196, allocations: 0.7352 MB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.3197, allocations: 23.42 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.3197, allocations: 0 / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of Templates: time 0.004686/0.3244, allocations: 2.229 MB / 1.032 GB, free: 11.62 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches