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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.008184/0.008184, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001731/0.001731, allocations: 193.5 kB / 16.79 MB, free: 6.254 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.434/1.434, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.528/2.528, allocations: 437 MB / 0.7106 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 59.91 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7051/0.7066, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003306/0.71, allocations: 1.979 MB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.7139, allocations: 3.415 MB / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.714, allocations: 0 / 1.023 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.7144, allocations: 47.81 kB / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.7148, allocations: 123.2 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.089e-05/0.7149, allocations: 23.98 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.7151, allocations: 175.3 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.7153, allocations: 25.69 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.7154, allocations: 83.56 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.7156, allocations: 67.69 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.7156, allocations: 8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.12e-05/0.7157, allocations: 31.92 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.7158, allocations: 35.83 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.7159, allocations: 67.55 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.7161, allocations: 107.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7161, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.81e-07/0.7161, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7161, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 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.0008739/0.717, allocations: 0.5101 MB / 1.024 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.717, allocations: 12.03 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.398e-05/0.7171, allocations: 20.69 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.7174, allocations: 242.8 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.7174, allocations: 4.375 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.7175, allocations: 384 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.7178, allocations: 142.6 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.7178, allocations: 7.984 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.7179, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.7179, allocations: 12 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/0.7183, allocations: 135.7 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007077/0.719, allocations: 448.5 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.7195, allocations: 166.1 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.7197, allocations: 96.8 kB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.7197, allocations: 7.922 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.7198, allocations: 38.56 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7198, allocations: 0 / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0007942/0.7206, allocations: 277.7 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.7206, allocations: 55.41 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.7209, allocations: 209 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.7209, allocations: 25.7 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.5e-05/0.721, allocations: 128 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.721, allocations: 39.45 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/0.7211, allocations: 33.64 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7212, allocations: 334.8 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.7215, allocations: 63.94 kB / 1.026 GB, free: 9.398 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.7217, allocations: 83.86 kB / 1.026 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.7221, allocations: 148.8 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7221, allocations: 4 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005037/0.7226, allocations: 220.9 kB / 1.027 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.7227, allocations: 4 kB / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7227, allocations: 0 / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.7227, allocations: 0 / 1.027 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.7229, allocations: 35.91 kB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.723, allocations: 0 / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.7231, allocations: 27.92 kB / 1.027 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.7231, allocations: 3.984 kB / 1.027 GB, free: 8.875 MB / 0.7794 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.0001104/0.7232, allocations: 126.3 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.7233, allocations: 23.72 kB / 1.027 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.7234, allocations: 25.83 kB / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7234, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7234, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7234, allocations: 0 / 1.027 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.7237, allocations: 265.5 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7237, allocations: 3.938 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.7239, allocations: 35.91 kB / 1.027 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7239, allocations: 3.984 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.7239, allocations: 8 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7239, allocations: 0 / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7239, allocations: 0 / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005492/0.7245, allocations: 307.1 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.7246, allocations: 112.8 kB / 1.028 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.7246, allocations: 4 kB / 1.028 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.7248, allocations: 15.98 kB / 1.028 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.7249, allocations: 15.98 kB / 1.028 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.7249, allocations: 3.984 kB / 1.028 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001427/0.7251, allocations: 152.5 kB / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7251, allocations: 0 / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002742/0.7253, allocations: 39.94 kB / 1.028 GB, free: 7.668 MB / 0.7794 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.0001786/0.7255, allocations: 113 kB / 1.028 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004866/0.726, allocations: 163.9 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.726, allocations: 4 kB / 1.028 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.7263, allocations: 91.86 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004391/0.7267, allocations: 26.03 kB / 1.028 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008406/0.7276, allocations: 489.5 kB / 1.029 GB, free: 6.758 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.7279, allocations: 0.7355 MB / 1.029 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.728, allocations: 23.42 kB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.728, allocations: 0 / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of Templates: time 0.004159/0.7322, allocations: 2.216 MB / 1.032 GB, free: 3.773 MB / 0.7794 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