Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_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.007218/0.007218, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001732/0.001732, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.548/2.548, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.91 kB / 1.054 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2711, allocations: 157.4 MB / 1.207 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007795/0.279, allocations: 7.234 MB / 1.214 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007782/0.2868, allocations: 5.543 MB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.2881, allocations: 55.75 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004577/0.2927, allocations: 1.695 MB / 1.222 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.2947, allocations: 0.6165 MB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.296, allocations: 391.2 kB / 1.223 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003459/0.2995, allocations: 2.941 MB / 1.225 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008135/0.3003, allocations: 0.541 MB / 1.226 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.3021, allocations: 1.109 MB / 1.227 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002168/0.3042, allocations: 1.612 MB / 1.229 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006809/0.3049, allocations: 196 kB / 1.229 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.306, allocations: 327.8 kB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0008834/0.3069, allocations: 0.701 MB / 1.23 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.3088, allocations: 1.205 MB / 1.231 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.3129, allocations: 3.669 MB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.3129, allocations: 0 / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3129, allocations: 7.875 kB / 1.235 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001056/0.3131, allocations: 0 / 1.235 GB, free: 14.08 MB / 0.9981 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.008144/0.3212, allocations: 3.464 MB / 1.238 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3213, allocations: 8.625 kB / 1.238 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.3214, allocations: 94.64 kB / 1.238 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004271/0.3219, allocations: 245.8 kB / 1.238 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/0.3254, allocations: 1.983 MB / 1.24 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.3255, allocations: 65 kB / 1.24 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.3257, allocations: 88 kB / 1.24 GB, free: 8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009858/0.3267, allocations: 0.7168 MB / 1.241 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3267, allocations: 0 / 1.241 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.3268, allocations: 20 kB / 1.241 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.3268, allocations: 12 kB / 1.241 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.3281, allocations: 0.9758 MB / 1.242 GB, free: 6.27 MB / 0.9981 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.01049/0.3386, allocations: 4.495 MB / 1.246 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3399, allocations: 0.7863 MB / 1.247 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/0.3405, allocations: 0.4973 MB / 1.248 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.3406, allocations: 7.953 kB / 1.248 GB, free: 336 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3406, allocations: 46.48 kB / 1.248 GB, free: 280 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=44): time 2.234e-06/0.3406, allocations: 0 / 1.248 GB, free: 280 kB / 0.9981 GB Notification: Performance of matching and sorting (n=44): time 0.5319/0.8725, allocations: 3.455 MB / 1.251 GB, free: 37.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.8726, allocations: 61.3 kB / 1.251 GB, free: 37.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003571/0.8761, allocations: 2.945 MB / 1.254 GB, free: 37.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.8764, allocations: 52.7 kB / 1.254 GB, free: 37.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007081/0.8772, allocations: 0.857 MB / 1.255 GB, free: 37.26 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.8773, allocations: 161.5 kB / 1.255 GB, free: 37.17 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/0.8779, allocations: 335.5 kB / 1.255 GB, free: 37.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.878, allocations: 360.9 kB / 1.256 GB, free: 36.85 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.8796, allocations: 1.373 MB / 1.257 GB, free: 36.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002039/0.8816, allocations: 1.62 MB / 1.259 GB, free: 36.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.8843, allocations: 1.93 MB / 1.261 GB, free: 36.75 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.8844, allocations: 0.5938 kB / 1.261 GB, free: 36.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007577/0.8919, allocations: 4.082 MB / 1.265 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.892, allocations: 7.25 kB / 1.265 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.892, allocations: 1.234 kB / 1.265 GB, free: 36.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.8955, allocations: 1.103 MB / 1.266 GB, free: 36.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.8967, allocations: 232.1 kB / 1.266 GB, free: 36.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/0.9077, allocations: 7.943 MB / 1.274 GB, free: 32.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.9098, allocations: 257.6 kB / 1.274 GB, free: 32.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.91, allocations: 47.12 kB / 1.274 GB, free: 32.6 MB / 0.9981 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.001129/0.9111, allocations: 0.8022 MB / 1.275 GB, free: 32.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.9114, allocations: 208.6 kB / 1.275 GB, free: 32.14 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.9118, allocations: 257 kB / 1.275 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9118, allocations: 5.375 kB / 1.275 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.112e-05/0.9118, allocations: 11.44 kB / 1.275 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.9118, allocations: 3.922 kB / 1.275 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.9131, allocations: 1.228 MB / 1.276 GB, free: 31.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.9132, allocations: 6 kB / 1.276 GB, free: 31.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.9132, allocations: 3.453 kB / 1.276 GB, free: 31.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/0.9162, allocations: 1.021 MB / 1.277 GB, free: 31.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.9162, allocations: 13.09 kB / 1.277 GB, free: 31.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.9272, allocations: 7.931 MB / 1.285 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9272, allocations: 1.344 kB / 1.285 GB, free: 27.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.9311, allocations: 1.96 MB / 1.287 GB, free: 27.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/0.9321, allocations: 441.2 kB / 1.287 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.9322, allocations: 6.469 kB / 1.287 GB, free: 26.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.9328, allocations: 38.78 kB / 1.287 GB, free: 26.71 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.933, allocations: 39.77 kB / 1.288 GB, free: 26.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.933, allocations: 10.56 kB / 1.288 GB, free: 26.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002836/0.9358, allocations: 2.037 MB / 1.29 GB, free: 26.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9358, allocations: 0.75 kB / 1.29 GB, free: 26.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001749/0.9376, allocations: 0.6055 MB / 1.29 GB, free: 25.99 MB / 0.9981 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.004042/0.9416, allocations: 2.568 MB / 1.293 GB, free: 24.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004936/0.9466, allocations: 2.816 MB / 1.295 GB, free: 23.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9466, allocations: 4.062 kB / 1.295 GB, free: 23.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.9488, allocations: 1.024 MB / 1.296 GB, free: 23.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.9514, allocations: 0.6757 MB / 1.297 GB, free: 23.05 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/0.9859, allocations: 25.22 MB / 1.322 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.987, allocations: 1.912 MB / 1.324 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009618/0.988, allocations: 337.2 kB / 1.324 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/0.9887, allocations: 0.705 MB / 1.325 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/0.9887, allocations: 0 / 1.325 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09101/1.08, allocations: 63.24 MB / 1.386 GB, free: 10.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.69, allocations: 14.89 kB / 1.386 GB, free: 10.97 MB / 1.061 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches