Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.RadiationTemperature,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.007395/0.007395, allocations: 101 kB / 15.73 MB, free: 6.473 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.001754/0.001754, allocations: 195 kB / 16.67 MB, free: 6.379 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.792/1.792, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.458/2.458, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 1.018 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2796, allocations: 151.6 MB / 1.166 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008931/0.2885, allocations: 7.851 MB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007825/0.2964, allocations: 5.376 MB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.298, allocations: 55.75 kB / 1.179 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004886/0.3029, allocations: 1.722 MB / 1.181 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.3052, allocations: 0.6669 MB / 1.182 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3064, allocations: 307.4 kB / 1.182 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.3097, allocations: 2.041 MB / 1.184 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.3108, allocations: 0.6996 MB / 1.185 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.3122, allocations: 0.7777 MB / 1.185 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.3137, allocations: 0.8707 MB / 1.186 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003988/0.3141, allocations: 96 kB / 1.186 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.315, allocations: 219.8 kB / 1.186 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005185/0.3155, allocations: 366.5 kB / 1.187 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.3169, allocations: 0.8739 MB / 1.188 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003241/0.3201, allocations: 2.62 MB / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3201, allocations: 0 / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3201, allocations: 4 kB / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.939e-05/0.3202, allocations: 0 / 1.19 GB, free: 14.73 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004149/0.3244, allocations: 2.409 MB / 1.193 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3244, allocations: 8.031 kB / 1.193 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001048/0.3245, allocations: 90.7 kB / 1.193 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.3249, allocations: 214.2 kB / 1.193 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.3275, allocations: 1.72 MB / 1.195 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.3275, allocations: 41 kB / 1.195 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.472e-05/0.3276, allocations: 52 kB / 1.195 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008151/0.3284, allocations: 0.5568 MB / 1.195 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3285, allocations: 0 / 1.195 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.3285, allocations: 16 kB / 1.195 GB, free: 9.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3285, allocations: 12 kB / 1.195 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006929/0.3292, allocations: 0.4995 MB / 1.196 GB, free: 8.969 MB / 0.9512 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.004171/0.3334, allocations: 3.231 MB / 1.199 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.551e-05/0.3335, allocations: 58.53 kB / 1.199 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.159e-05/0.3336, allocations: 44.88 kB / 1.199 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3336, allocations: 0 / 1.199 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3336, allocations: 38.5 kB / 1.199 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.3336, allocations: 4 kB / 1.199 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0005511/0.3342, allocations: 351 kB / 1.199 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.3342, allocations: 59.39 kB / 1.199 GB, free: 4.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.3377, allocations: 2.931 MB / 1.202 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3377, allocations: 25.7 kB / 1.202 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.3385, allocations: 0.9347 MB / 1.203 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.3386, allocations: 16.11 kB / 1.203 GB, free: 0.9727 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3387, allocations: 114 kB / 1.203 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3388, allocations: 329.9 kB / 1.204 GB, free: 0.5234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3391, allocations: 156.9 kB / 1.204 GB, free: 380 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004272/0.3395, allocations: 473.2 kB / 1.204 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/0.3401, allocations: 0.5981 MB / 1.205 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.3401, allocations: 4 kB / 1.205 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00107/0.3412, allocations: 0.757 MB / 1.206 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.3412, allocations: 14.05 kB / 1.206 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3413, allocations: 16 kB / 1.206 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.461e-05/0.3413, allocations: 12 kB / 1.206 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.3416, allocations: 107.8 kB / 1.206 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.3417, allocations: 19.92 kB / 1.206 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006388/0.3423, allocations: 90.97 kB / 1.206 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.3423, allocations: 31.94 kB / 1.206 GB, free: 13.96 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007875/0.3431, allocations: 0.7353 MB / 1.207 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.3434, allocations: 205.4 kB / 1.207 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.3437, allocations: 227.7 kB / 1.207 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3437, allocations: 3.984 kB / 1.207 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3437, allocations: 4 kB / 1.207 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3437, allocations: 0 / 1.207 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3448, allocations: 0.9392 MB / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3448, allocations: 3.938 kB / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.249e-05/0.3449, allocations: 4 kB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3449, allocations: 0 / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.3449, allocations: 4 kB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3449, allocations: 3.938 kB / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3449, allocations: 0 / 1.208 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.3453, allocations: 417.1 kB / 1.208 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005145/0.3458, allocations: 362.4 kB / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.346, allocations: 0 / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.3464, allocations: 8.031 kB / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.3464, allocations: 0 / 1.209 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.3464, allocations: 3.984 kB / 1.209 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002646/0.3491, allocations: 2.062 MB / 1.211 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3491, allocations: 0 / 1.211 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007791/0.3499, allocations: 247.8 kB / 1.211 GB, free: 8.641 MB / 0.9669 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009894/0.3509, allocations: 1.017 MB / 1.212 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.3514, allocations: 313 kB / 1.212 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3514, allocations: 0 / 1.212 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.3515, allocations: 43.89 kB / 1.212 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.3538, allocations: 0.7062 MB / 1.213 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02299/0.3768, allocations: 16.23 MB / 1.229 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/0.3787, allocations: 1.808 MB / 1.231 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000934/0.3796, allocations: 305.4 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000824/0.3805, allocations: 0.6828 MB / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of SimCode: time 8.01e-07/0.3805, allocations: 0 / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6289/1.009, allocations: 44.02 MB / 1.274 GB, free: 67.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.67, allocations: 17.7 kB / 1.274 GB, free: 67.45 MB / 0.9981 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches