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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001233/0.001233, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.228/2.228, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5017/0.5029, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.007559/0.5105, allocations: 7.22 MB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006625/0.5171, allocations: 5.555 MB / 1.03 GB, free: 5.633 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.5177, allocations: 43.75 kB / 1.03 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003292/0.521, allocations: 1.687 MB / 1.032 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009798/0.5221, allocations: 0.6204 MB / 1.032 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.5228, allocations: 376.5 kB / 1.033 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.5251, allocations: 2.929 MB / 1.035 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005741/0.5256, allocations: 0.5488 MB / 1.036 GB, free: 15.4 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000995/0.5267, allocations: 1.078 MB / 1.037 GB, free: 14.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.5282, allocations: 1.616 MB / 1.039 GB, free: 12.7 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003171/0.5285, allocations: 199.9 kB / 1.039 GB, free: 12.5 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005866/0.5291, allocations: 315.8 kB / 1.039 GB, free: 12.19 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.5296, allocations: 0.7011 MB / 1.04 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.5307, allocations: 1.213 MB / 1.041 GB, free: 10.27 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.5331, allocations: 3.439 MB / 1.044 GB, free: 6.82 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5331, allocations: 4 kB / 1.044 GB, free: 6.816 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5331, allocations: 0 / 1.044 GB, free: 6.816 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.85e-05/0.5331, allocations: 0 / 1.044 GB, free: 6.816 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.005923/0.5391, allocations: 3.39 MB / 1.048 GB, free: 3.355 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5391, allocations: 12.03 kB / 1.048 GB, free: 3.344 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.465e-05/0.5392, allocations: 90.64 kB / 1.048 GB, free: 3.246 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003482/0.5396, allocations: 245.9 kB / 1.048 GB, free: 3.004 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.5421, allocations: 1.886 MB / 1.05 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.876e-05/0.5421, allocations: 69 kB / 1.05 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.5423, allocations: 91.94 kB / 1.05 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.5433, allocations: 0.7168 MB / 1.051 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5433, allocations: 0 / 1.051 GB, free: 180 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.5433, allocations: 16 kB / 1.051 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.5434, allocations: 11.98 kB / 1.051 GB, free: 152 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.5447, allocations: 0.9798 MB / 1.052 GB, free: 15.16 MB / 0.8106 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.00945/0.5542, allocations: 4.519 MB / 1.056 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.5553, allocations: 0.7932 MB / 1.057 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.5559, allocations: 0.4973 MB / 1.057 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.556, allocations: 7.953 kB / 1.057 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.556, allocations: 42.5 kB / 1.057 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.593e-06/0.556, allocations: 3.938 kB / 1.057 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008794/0.5648, allocations: 3.465 MB / 1.061 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.5648, allocations: 67.28 kB / 1.061 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.5679, allocations: 2.964 MB / 1.064 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.5681, allocations: 53.7 kB / 1.064 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007748/0.5689, allocations: 0.8552 MB / 1.065 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.569, allocations: 165.7 kB / 1.065 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000523/0.5695, allocations: 327.5 kB / 1.065 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.5697, allocations: 369.9 kB / 1.065 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.5713, allocations: 1.366 MB / 1.067 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/0.5733, allocations: 1.628 MB / 1.068 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002347/0.5757, allocations: 1.918 MB / 1.07 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.5757, allocations: 0 / 1.07 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006321/0.582, allocations: 4.09 MB / 1.074 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.582, allocations: 9.562 kB / 1.074 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5821, allocations: 0 / 1.074 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.5849, allocations: 1.108 MB / 1.075 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.5861, allocations: 227.7 kB / 1.075 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.5969, allocations: 7.962 MB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.5985, allocations: 258 kB / 1.084 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.5987, allocations: 40 kB / 1.084 GB, free: 14.02 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.0009567/0.5996, allocations: 0.8056 MB / 1.084 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.5999, allocations: 213.1 kB / 1.085 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.6003, allocations: 258.7 kB / 1.085 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.6003, allocations: 4 kB / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.6003, allocations: 8 kB / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.6003, allocations: 0 / 1.085 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.6016, allocations: 1.236 MB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6017, allocations: 0 / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.6017, allocations: 4 kB / 1.086 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002749/0.6045, allocations: 1.031 MB / 1.087 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.6045, allocations: 12 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01066/0.6152, allocations: 7.941 MB / 1.095 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6152, allocations: 0 / 1.095 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003396/0.6186, allocations: 1.96 MB / 1.097 GB, free: 316 kB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006179/0.6192, allocations: 442.3 kB / 1.097 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.6194, allocations: 8 kB / 1.097 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006134/0.6201, allocations: 39.81 kB / 1.097 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.6202, allocations: 39.88 kB / 1.097 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.6202, allocations: 12 kB / 1.097 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002491/0.6227, allocations: 2.055 MB / 1.099 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6227, allocations: 96 / 1.099 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001228/0.624, allocations: 0.6131 MB / 1.1 GB, free: 13.08 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.003885/0.6279, allocations: 2.567 MB / 1.102 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004371/0.6322, allocations: 2.826 MB / 1.105 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6323, allocations: 0 / 1.105 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.6344, allocations: 1.039 MB / 1.106 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.6365, allocations: 0.6684 MB / 1.107 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03436/0.6709, allocations: 27.88 MB / 1.134 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.6724, allocations: 1.915 MB / 1.136 GB, free: 6.727 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007738/0.6732, allocations: 325.6 kB / 1.136 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008536/0.6741, allocations: 0.7063 MB / 1.137 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of SimCode: time 1.743e-06/0.6741, allocations: 0 / 1.137 GB, free: 5.695 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7993/1.473, allocations: 61.62 MB / 1.197 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/14.9, allocations: 10.12 kB / 1.197 GB, free: 8.734 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