Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004768/0.004768, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001351/0.001351, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 469.8 MB / 0.7425 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 63.91 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.247, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002625/0.2497, allocations: 1.924 MB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.2532, allocations: 3.439 MB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.2532, allocations: 0 / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.2535, allocations: 63.55 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.2538, allocations: 135.2 kB / 1.226 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.217e-05/0.2539, allocations: 19.97 kB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.2541, allocations: 175.2 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.473e-05/0.2542, allocations: 41.64 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.2543, allocations: 83.64 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.2545, allocations: 75.67 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.2545, allocations: 8 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.928e-05/0.2546, allocations: 31.92 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.344e-05/0.2547, allocations: 39.83 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.499e-05/0.2548, allocations: 91.41 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.255, allocations: 167.2 kB / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.255, allocations: 0 / 1.226 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.022e-06/0.255, allocations: 3.938 kB / 1.226 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.255, allocations: 0 / 1.226 GB, free: 7.93 MB / 0.9825 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.0007939/0.2558, allocations: 0.5061 MB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.2558, allocations: 12.03 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.929e-05/0.2559, allocations: 42.69 kB / 1.227 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.2559, allocations: 20.8 kB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2562, allocations: 250.9 kB / 1.227 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2562, allocations: 4.375 kB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2563, allocations: 8.359 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.2566, allocations: 149.5 kB / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2566, allocations: 0 / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.2566, allocations: 0 / 1.227 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.2567, allocations: 11.98 kB / 1.227 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.2571, allocations: 149.5 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006268/0.2577, allocations: 452.6 kB / 1.228 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.2581, allocations: 174.5 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.2584, allocations: 100.8 kB / 1.228 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2584, allocations: 7.984 kB / 1.228 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2584, allocations: 34.5 kB / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.2584, allocations: 0 / 1.228 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0007825/0.2592, allocations: 297.6 kB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.2593, allocations: 51.41 kB / 1.228 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2595, allocations: 213 kB / 1.229 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.2595, allocations: 33.64 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.2596, allocations: 120.1 kB / 1.229 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.2596, allocations: 47.59 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.2597, allocations: 29.7 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2598, allocations: 334.8 kB / 1.229 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.26, allocations: 71.94 kB / 1.229 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.2602, allocations: 83.61 kB / 1.229 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.2607, allocations: 168.8 kB / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2607, allocations: 0 / 1.23 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005077/0.2612, allocations: 217.4 kB / 1.23 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.2612, allocations: 4 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-06/0.2612, allocations: 0 / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2612, allocations: 4 kB / 1.23 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.2615, allocations: 39.89 kB / 1.23 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2615, allocations: 3.984 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.2616, allocations: 19.94 kB / 1.23 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.2617, allocations: 11.94 kB / 1.23 GB, free: 4.09 MB / 0.9825 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 9.926e-05/0.2618, allocations: 125.8 kB / 1.23 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.2618, allocations: 15.91 kB / 1.23 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.947e-05/0.2619, allocations: 25.83 kB / 1.23 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2619, allocations: 4 kB / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.2619, allocations: 0 / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2619, allocations: 0 / 1.23 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.2622, allocations: 277.3 kB / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2622, allocations: 0 / 1.23 GB, free: 3.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.2624, allocations: 43.89 kB / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2624, allocations: 0 / 1.23 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2624, allocations: 4 kB / 1.23 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2624, allocations: 4 kB / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2624, allocations: 0 / 1.23 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.263, allocations: 319.2 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.396e-05/0.2631, allocations: 105 kB / 1.231 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.2631, allocations: 8 kB / 1.231 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.2633, allocations: 19.97 kB / 1.231 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.2633, allocations: 11.98 kB / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2633, allocations: 0 / 1.231 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001229/0.2635, allocations: 172.3 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2635, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002374/0.2637, allocations: 39.94 kB / 1.231 GB, free: 2.848 MB / 0.9825 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.0008431/0.2646, allocations: 0.8492 MB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.2651, allocations: 183.8 kB / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2651, allocations: 0 / 1.232 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.2653, allocations: 95.88 kB / 1.232 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2656, allocations: 29.53 kB / 1.232 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.2686, allocations: 2.318 MB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.2689, allocations: 0.7237 MB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.269, allocations: 48.59 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.123e-05/0.2691, allocations: 59.41 kB / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of SimCode: time 2.1e-07/0.2691, allocations: 0 / 1.235 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.697/1.967, allocations: 3.911 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/13.51, allocations: 5.609 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches