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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.012/0.012, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.003264/0.003265, allocations: 199.1 kB / 16.68 MB, free: 5.969 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.24/1.24, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.585/2.585, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 67.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2589, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007576/0.2666, allocations: 7.234 MB / 1.249 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4647/0.7313, allocations: 5.525 MB / 1.254 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.7319, allocations: 51.25 kB / 1.254 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.7351, allocations: 1.69 MB / 1.256 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008877/0.736, allocations: 0.6268 MB / 1.257 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007647/0.7367, allocations: 380.7 kB / 1.257 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.7389, allocations: 2.945 MB / 1.26 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005528/0.7395, allocations: 0.5429 MB / 1.26 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.7405, allocations: 1.08 MB / 1.262 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.7421, allocations: 1.62 MB / 1.263 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.7424, allocations: 196.4 kB / 1.263 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.743, allocations: 314 kB / 1.264 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.7436, allocations: 0.6982 MB / 1.264 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009232/0.7445, allocations: 1.209 MB / 1.265 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.7474, allocations: 3.686 MB / 1.269 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.7474, allocations: 0 / 1.269 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7474, allocations: 0 / 1.269 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.669e-05/0.7474, allocations: 0 / 1.269 GB, free: 2.43 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.005676/0.7531, allocations: 3.544 MB / 1.273 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.7531, allocations: 6.594 kB / 1.273 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.54e-05/0.7532, allocations: 89.94 kB / 1.273 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.7535, allocations: 256.6 kB / 1.273 GB, free: 412 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.7565, allocations: 2.001 MB / 1.275 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/0.7565, allocations: 63.12 kB / 1.275 GB, free: 15.46 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.7567, allocations: 94.69 kB / 1.275 GB, free: 15.42 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.7578, allocations: 0.715 MB / 1.276 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.7578, allocations: 1.094 kB / 1.276 GB, free: 15.19 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.7579, allocations: 15.59 kB / 1.276 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.7579, allocations: 10.56 kB / 1.276 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.7593, allocations: 0.9862 MB / 1.277 GB, free: 14.93 MB / 1.014 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.00937/0.7686, allocations: 4.495 MB / 1.281 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.7698, allocations: 0.7909 MB / 1.282 GB, free: 12.98 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.7705, allocations: 0.4949 MB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.7705, allocations: 3.906 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.7705, allocations: 37.7 kB / 1.282 GB, free: 12.79 MB / 1.014 GB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.7705, allocations: 3.938 kB / 1.282 GB, free: 12.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=44): time 0.009184/0.7797, allocations: 3.488 MB / 1.286 GB, free: 11.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.7798, allocations: 56.27 kB / 1.286 GB, free: 11.83 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.7833, allocations: 2.95 MB / 1.289 GB, free: 10.88 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.7834, allocations: 56.89 kB / 1.289 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008901/0.7843, allocations: 0.8548 MB / 1.29 GB, free: 10.17 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.7845, allocations: 171.1 kB / 1.29 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006094/0.7851, allocations: 330.2 kB / 1.29 GB, free: 9.914 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7853, allocations: 360.6 kB / 1.29 GB, free: 9.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/0.7871, allocations: 1.374 MB / 1.292 GB, free: 9.062 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.7893, allocations: 1.621 MB / 1.293 GB, free: 8.438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.7918, allocations: 1.93 MB / 1.295 GB, free: 7.598 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7918, allocations: 4 kB / 1.295 GB, free: 7.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.0067/0.7985, allocations: 4.097 MB / 1.299 GB, free: 6.043 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7985, allocations: 10.3 kB / 1.299 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.7985, allocations: 1.469 kB / 1.299 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/0.8016, allocations: 1.099 MB / 1.3 GB, free: 5.887 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/0.8026, allocations: 226.5 kB / 1.301 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.8139, allocations: 7.975 MB / 1.308 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.8158, allocations: 274.4 kB / 1.309 GB, free: 2.051 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.816, allocations: 47.16 kB / 1.309 GB, free: 2.035 MB / 1.014 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.0012/0.8172, allocations: 0.7983 MB / 1.309 GB, free: 1.699 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.8175, allocations: 222.6 kB / 1.31 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.8179, allocations: 261.8 kB / 1.31 GB, free: 1.438 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.8179, allocations: 7.75 kB / 1.31 GB, free: 1.434 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/0.8179, allocations: 12.03 kB / 1.31 GB, free: 1.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.8179, allocations: 6.953 kB / 1.31 GB, free: 1.426 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/0.8194, allocations: 1.218 MB / 1.311 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.8194, allocations: 0 / 1.311 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.8194, allocations: 5.328 kB / 1.311 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/0.8221, allocations: 1.02 MB / 1.312 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.8222, allocations: 9.969 kB / 1.312 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/0.833, allocations: 7.941 MB / 1.32 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.833, allocations: 0 / 1.32 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/0.8366, allocations: 1.978 MB / 1.322 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006097/0.8372, allocations: 452 kB / 1.322 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.8374, allocations: 6.719 kB / 1.322 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005707/0.838, allocations: 32.5 kB / 1.322 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.8381, allocations: 38.12 kB / 1.322 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.8381, allocations: 10.94 kB / 1.322 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002546/0.8407, allocations: 2.039 MB / 1.324 GB, free: 9.324 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8407, allocations: 0 / 1.324 GB, free: 9.324 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001506/0.8422, allocations: 0.6081 MB / 1.325 GB, free: 9.27 MB / 1.029 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.004086/0.8463, allocations: 2.581 MB / 1.327 GB, free: 7.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.8509, allocations: 2.822 MB / 1.33 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8509, allocations: 0 / 1.33 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.853, allocations: 1.038 MB / 1.331 GB, free: 5.496 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.8552, allocations: 0.6842 MB / 1.332 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/0.8891, allocations: 25.28 MB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.8907, allocations: 1.923 MB / 1.358 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0008424/0.8915, allocations: 325.9 kB / 1.359 GB, free: 13.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009296/0.8925, allocations: 0.7063 MB / 1.359 GB, free: 12.95 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.8925, allocations: 0 / 1.359 GB, free: 12.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9577/1.85, allocations: 62.18 MB / 1.42 GB, free: 15.45 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.85, allocations: 12.14 kB / 1.42 GB, free: 15.43 MB / 1.123 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=400 --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