Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001572/0.001572, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.389/2.389, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.84 kB / 0.8687 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5373, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007023/0.5444, allocations: 7.191 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006601/0.551, allocations: 5.482 MB / 1.029 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.5521, allocations: 39.75 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003859/0.556, allocations: 1.587 MB / 1.031 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.5575, allocations: 0.5433 MB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.5585, allocations: 335.5 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002903/0.5614, allocations: 3.126 MB / 1.035 GB, free: 444 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006333/0.562, allocations: 0.5128 MB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.5635, allocations: 0.9841 MB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.5649, allocations: 1.561 MB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.5652, allocations: 124 kB / 1.038 GB, free: 13.22 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.5657, allocations: 251.8 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.5663, allocations: 0.6268 MB / 1.039 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009772/0.5672, allocations: 1.135 MB / 1.04 GB, free: 11.21 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.5694, allocations: 3.24 MB / 1.043 GB, free: 7.957 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.5694, allocations: 0 / 1.043 GB, free: 7.957 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.72e-07/0.5694, allocations: 0 / 1.043 GB, free: 7.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.5694, allocations: 0 / 1.043 GB, free: 7.957 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005385/0.5748, allocations: 3.359 MB / 1.046 GB, free: 4.527 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5749, allocations: 11.98 kB / 1.046 GB, free: 4.516 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.942e-05/0.575, allocations: 94.64 kB / 1.046 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003235/0.5753, allocations: 241.9 kB / 1.046 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/0.5777, allocations: 1.886 MB / 1.048 GB, free: 2.227 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.098e-05/0.5778, allocations: 65 kB / 1.048 GB, free: 2.164 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.5779, allocations: 84 kB / 1.048 GB, free: 2.082 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009292/0.5789, allocations: 0.713 MB / 1.049 GB, free: 1.363 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5789, allocations: 4 kB / 1.049 GB, free: 1.359 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.579, allocations: 16 kB / 1.049 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.579, allocations: 12 kB / 1.049 GB, free: 1.332 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.5802, allocations: 0.9758 MB / 1.05 GB, free: 360 kB / 0.795 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008471/0.5887, allocations: 4.526 MB / 1.055 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5899, allocations: 0.7831 MB / 1.055 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.5904, allocations: 0.4934 MB / 1.056 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.5905, allocations: 11.95 kB / 1.056 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.5905, allocations: 42.44 kB / 1.056 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.5905, allocations: 0 / 1.056 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.00824/0.5988, allocations: 3.466 MB / 1.059 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.5988, allocations: 67.34 kB / 1.059 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.6019, allocations: 2.964 MB / 1.062 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.6021, allocations: 53.7 kB / 1.062 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/0.6028, allocations: 0.8551 MB / 1.063 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.603, allocations: 165.8 kB / 1.063 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005128/0.6035, allocations: 331.5 kB / 1.064 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6036, allocations: 361.9 kB / 1.064 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.6052, allocations: 1.37 MB / 1.065 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.6072, allocations: 1.624 MB / 1.067 GB, free: 15 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.6094, allocations: 1.922 MB / 1.069 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.6095, allocations: 0 / 1.069 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006105/0.6156, allocations: 4.09 MB / 1.073 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6156, allocations: 4 kB / 1.073 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.6156, allocations: 0 / 1.073 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.6184, allocations: 1.105 MB / 1.074 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009911/0.6195, allocations: 227.7 kB / 1.074 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009838/0.6293, allocations: 7.288 MB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.631, allocations: 262.2 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.6312, allocations: 43.94 kB / 1.081 GB, free: 15.89 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001117/0.6323, allocations: 0.7979 MB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.6327, allocations: 217 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004965/0.6332, allocations: 262.7 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.6332, allocations: 4 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.6333, allocations: 8 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.6333, allocations: 96 / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.6348, allocations: 1.236 MB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6348, allocations: 0 / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.6348, allocations: 4 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.6375, allocations: 1.027 MB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.6376, allocations: 7.984 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009658/0.6472, allocations: 7.263 MB / 1.092 GB, free: 4.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.6472, allocations: 4 kB / 1.092 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00326/0.6505, allocations: 1.949 MB / 1.094 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000749/0.6513, allocations: 453.9 kB / 1.094 GB, free: 2.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.6516, allocations: 12 kB / 1.094 GB, free: 2.406 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000618/0.6522, allocations: 35.8 kB / 1.094 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.6523, allocations: 39.89 kB / 1.094 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.6524, allocations: 8 kB / 1.094 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00274/0.6551, allocations: 2.055 MB / 1.096 GB, free: 268 kB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6551, allocations: 4 kB / 1.096 GB, free: 264 kB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001522/0.6566, allocations: 0.6132 MB / 1.097 GB, free: 15.64 MB / 0.8575 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00365/0.6603, allocations: 2.57 MB / 1.099 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004509/0.6648, allocations: 2.811 MB / 1.102 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6648, allocations: 0 / 1.102 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/0.6668, allocations: 1.043 MB / 1.103 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.6692, allocations: 0.6261 MB / 1.104 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04198/0.7112, allocations: 28.25 MB / 1.131 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.7129, allocations: 1.907 MB / 1.133 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008717/0.7137, allocations: 321.6 kB / 1.134 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009105/0.7147, allocations: 0.7102 MB / 1.134 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of SimCode: time 8.71e-07/0.7147, allocations: 0 / 1.134 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.706/5.421, allocations: 60.07 MB / 1.193 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003088/5.421, allocations: 304.7 kB / 1.193 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.022/9.444, allocations: 2.5 kB / 1.193 GB, free: 12.14 MB / 0.9512 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches