Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007731/0.0007731, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8436/0.8436, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 3.984 kB / 0.9506 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.34e-05, allocations: 5.094 kB / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005696/0.005719, allocations: 6.39 MB / 0.9568 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.006146/0.01186, allocations: 5.068 MB / 0.9618 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.01321, allocations: 71.44 kB / 0.9618 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.01724, allocations: 1.605 MB / 0.9634 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.01903, allocations: 0.6628 MB / 0.9641 GB, free: 5.535 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.02006, allocations: 405.2 kB / 0.9645 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.02291, allocations: 3.07 MB / 0.9674 GB, free: 2.062 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.0234, allocations: 218.5 kB / 0.9677 GB, free: 1.828 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.02561, allocations: 1.5 MB / 0.9691 GB, free: 332 kB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.02748, allocations: 1.544 MB / 0.9706 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0005006/0.02798, allocations: 196 kB / 0.9708 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.02868, allocations: 323.7 kB / 0.9711 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004893/0.02917, allocations: 0.7244 MB / 0.9718 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0009331/0.03011, allocations: 0.8067 MB / 0.9726 GB, free: 12.73 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.03344, allocations: 3.821 MB / 0.9764 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.03344, allocations: 0 / 0.9764 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.743e-06/0.03345, allocations: 0 / 0.9764 GB, free: 8.902 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.021e-05/0.03353, allocations: 0 / 0.9764 GB, free: 8.902 MB / 0.9323 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.005281/0.03881, allocations: 3.446 MB / 0.9797 GB, free: 5.406 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.03886, allocations: 8.031 kB / 0.9797 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.03896, allocations: 90.7 kB / 0.9798 GB, free: 5.301 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000376/0.03934, allocations: 255.3 kB / 0.9801 GB, free: 5.051 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00264/0.04198, allocations: 1.929 MB / 0.9819 GB, free: 3.062 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.713e-05/0.04204, allocations: 77.12 kB / 0.982 GB, free: 2.988 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001719/0.04221, allocations: 88 kB / 0.9821 GB, free: 2.902 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.04298, allocations: 0.713 MB / 0.9828 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.043, allocations: 0 / 0.9828 GB, free: 2.184 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.04303, allocations: 20 kB / 0.9828 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.04304, allocations: 12 kB / 0.9828 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.04423, allocations: 0.9641 MB / 0.9838 GB, free: 1.188 MB / 0.9323 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.006663/0.05089, allocations: 3.738 MB / 0.9874 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.05185, allocations: 0.747 MB / 0.9881 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/0.05227, allocations: 474.2 kB / 0.9886 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.05231, allocations: 4 kB / 0.9886 GB, free: 12.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.05233, allocations: 42.5 kB / 0.9886 GB, free: 12.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 2.495e-06/0.05233, allocations: 0 / 0.9886 GB, free: 12.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.00603/0.05836, allocations: 3.375 MB / 0.9919 GB, free: 8.738 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.0584, allocations: 63.41 kB / 0.992 GB, free: 8.664 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/0.06166, allocations: 2.949 MB / 0.9949 GB, free: 5.703 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003434/0.06201, allocations: 49.7 kB / 0.9949 GB, free: 5.648 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007264/0.06273, allocations: 0.8596 MB / 0.9958 GB, free: 4.781 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.06291, allocations: 162.6 kB / 0.9959 GB, free: 4.621 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/0.06336, allocations: 331.5 kB / 0.9962 GB, free: 4.289 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.06347, allocations: 365.9 kB / 0.9966 GB, free: 3.926 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.06504, allocations: 1.37 MB / 0.9979 GB, free: 2.555 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.06664, allocations: 1.85 MB / 0.9997 GB, free: 0.6367 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001916/0.06856, allocations: 1.922 MB / 1.002 GB, free: 14.71 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.06856, allocations: 4 kB / 1.002 GB, free: 14.7 MB / 0.9636 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005128/0.07369, allocations: 4.068 MB / 1.006 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.07372, allocations: 7.062 kB / 1.006 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.07373, allocations: 7.875 kB / 1.006 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.07558, allocations: 1.112 MB / 1.007 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000797/0.07638, allocations: 223.7 kB / 1.007 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00799/0.08437, allocations: 7.747 MB / 1.014 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.08576, allocations: 262.5 kB / 1.015 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.08595, allocations: 51.98 kB / 1.015 GB, free: 1.098 MB / 0.9636 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.0009856/0.08694, allocations: 0.7977 MB / 1.016 GB, free: 296 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.08723, allocations: 234.4 kB / 1.016 GB, free: 60 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.08757, allocations: 250.7 kB / 1.016 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.08757, allocations: 4 kB / 1.016 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/0.0876, allocations: 8 kB / 1.016 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.08761, allocations: 3.984 kB / 1.016 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.08872, allocations: 1.044 MB / 1.017 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.08872, allocations: 0 / 1.017 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.08877, allocations: 11.98 kB / 1.017 GB, free: 14.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.09046, allocations: 1.015 MB / 1.018 GB, free: 13.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.09049, allocations: 8 kB / 1.018 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008207/0.09869, allocations: 7.738 MB / 1.026 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.09869, allocations: 0 / 1.026 GB, free: 5.805 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.1012, allocations: 1.939 MB / 1.027 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008034/0.102, allocations: 374.4 kB / 1.028 GB, free: 3.477 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.1022, allocations: 15.92 kB / 1.028 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.1025, allocations: 31.86 kB / 1.028 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.1027, allocations: 39.92 kB / 1.028 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1027, allocations: 12 kB / 1.028 GB, free: 3.379 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002353/0.105, allocations: 2.04 MB / 1.03 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.105, allocations: 0 / 1.03 GB, free: 1.332 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001749/0.1068, allocations: 0.613 MB / 1.031 GB, free: 0.7188 MB / 0.9792 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.003308/0.1101, allocations: 2.554 MB / 1.033 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004198/0.1143, allocations: 2.53 MB / 1.036 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/0.1143, allocations: 4 kB / 1.036 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001619/0.1159, allocations: 1.012 MB / 1.036 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.1187, allocations: 0.6698 MB / 1.037 GB, free: 9.91 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3896/0.5083, allocations: 25.24 MB / 1.062 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008359/0.5091, allocations: 1.339 MB / 1.063 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008389/0.5099, allocations: 319.9 kB / 1.063 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/0.5106, allocations: 0.7095 MB / 1.064 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of SimCode: time 1.793e-06/0.5106, allocations: 0 / 1.064 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09289/0.6035, allocations: 67.34 MB / 1.13 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/9.008, allocations: 4 kB / 1.13 GB, free: 100.2 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.010413790121675]