Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.RadiationTemperature,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_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.007228/0.007228, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001697/0.001698, allocations: 197.2 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.5/2.5, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.89 kB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.29, allocations: 157.4 MB / 1.207 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008606/0.2986, allocations: 7.86 MB / 1.215 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007682/0.3063, allocations: 5.375 MB / 1.22 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001468/0.3078, allocations: 55.69 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004664/0.3126, allocations: 1.722 MB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.3147, allocations: 0.6552 MB / 1.223 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.3159, allocations: 306.3 kB / 1.223 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00296/0.3189, allocations: 2.047 MB / 1.225 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.3199, allocations: 0.6879 MB / 1.226 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.3213, allocations: 0.7816 MB / 1.226 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.3227, allocations: 0.8785 MB / 1.227 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003832/0.3231, allocations: 96 kB / 1.227 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.3239, allocations: 207.8 kB / 1.228 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005034/0.3244, allocations: 366.5 kB / 1.228 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.3258, allocations: 0.8777 MB / 1.229 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.3288, allocations: 2.62 MB / 1.231 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3288, allocations: 0 / 1.231 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3288, allocations: 4 kB / 1.231 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.203e-05/0.3289, allocations: 0 / 1.231 GB, free: 1.348 MB / 0.9825 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.004416/0.3333, allocations: 2.405 MB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3334, allocations: 8.625 kB / 1.234 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3335, allocations: 90.7 kB / 1.234 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.3339, allocations: 214.2 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.3371, allocations: 1.72 MB / 1.236 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.3372, allocations: 37 kB / 1.236 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.3373, allocations: 52 kB / 1.236 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.3382, allocations: 0.5568 MB / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3382, allocations: 0 / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.3382, allocations: 23.94 kB / 1.236 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.3383, allocations: 12 kB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006944/0.339, allocations: 0.4957 MB / 1.237 GB, free: 11.59 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.004318/0.3433, allocations: 3.227 MB / 1.24 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.3434, allocations: 62.47 kB / 1.24 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.3435, allocations: 48.88 kB / 1.24 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3435, allocations: 0 / 1.24 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.3435, allocations: 34.56 kB / 1.24 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.3435, allocations: 0 / 1.24 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0005413/0.3441, allocations: 358.9 kB / 1.24 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3441, allocations: 55.34 kB / 1.24 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.3475, allocations: 2.931 MB / 1.243 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.3475, allocations: 33.69 kB / 1.243 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/0.3483, allocations: 0.9308 MB / 1.244 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3483, allocations: 8.125 kB / 1.244 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3485, allocations: 122 kB / 1.244 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3486, allocations: 329.9 kB / 1.245 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3488, allocations: 149 kB / 1.245 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.3492, allocations: 473.2 kB / 1.245 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005714/0.3498, allocations: 0.602 MB / 1.246 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3498, allocations: 4 kB / 1.246 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00101/0.3508, allocations: 0.7648 MB / 1.247 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3508, allocations: 8 kB / 1.247 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.3509, allocations: 16.12 kB / 1.247 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.3509, allocations: 12 kB / 1.247 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3512, allocations: 115.8 kB / 1.247 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.3512, allocations: 15.94 kB / 1.247 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.3518, allocations: 90.97 kB / 1.247 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.3519, allocations: 28 kB / 1.247 GB, free: 0.5781 MB / 0.9981 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.5571/0.909, allocations: 0.7404 MB / 1.248 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005079/0.9095, allocations: 202.8 kB / 1.248 GB, free: 37.51 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.91, allocations: 223.4 kB / 1.248 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.91, allocations: 0 / 1.248 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.91, allocations: 1.219 kB / 1.248 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.91, allocations: 1.672 kB / 1.248 GB, free: 37.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.9114, allocations: 0.9392 MB / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9114, allocations: 0 / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.9115, allocations: 1.906 kB / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.9115, allocations: 2.094 kB / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.9115, allocations: 2.031 kB / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.9115, allocations: 0 / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9115, allocations: 1.062 kB / 1.249 GB, free: 37.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004625/0.912, allocations: 423.8 kB / 1.249 GB, free: 37.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/0.9126, allocations: 371.2 kB / 1.25 GB, free: 36.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.9128, allocations: 0 / 1.25 GB, free: 36.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.9131, allocations: 2 kB / 1.25 GB, free: 36.87 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.9131, allocations: 7.219 kB / 1.25 GB, free: 36.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.9131, allocations: 3.188 kB / 1.25 GB, free: 36.86 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002743/0.9159, allocations: 2.065 MB / 1.252 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9159, allocations: 0 / 1.252 GB, free: 36.72 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007787/0.9167, allocations: 237.2 kB / 1.252 GB, free: 36.72 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 (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.0007698/0.9175, allocations: 1.003 MB / 1.253 GB, free: 35.95 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.9179, allocations: 319.8 kB / 1.253 GB, free: 35.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9179, allocations: 3.75 kB / 1.253 GB, free: 35.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.918, allocations: 41.22 kB / 1.253 GB, free: 35.95 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.9202, allocations: 0.7224 MB / 1.254 GB, free: 35.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/0.945, allocations: 16.23 MB / 1.27 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/0.9466, allocations: 1.802 MB / 1.272 GB, free: 31.62 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001058/0.9477, allocations: 305.7 kB / 1.272 GB, free: 31.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006617/0.9483, allocations: 0.6761 MB / 1.273 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of SimCode: time 1.252e-06/0.9483, allocations: 0 / 1.273 GB, free: 31.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08539/1.034, allocations: 44.58 MB / 1.316 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.69, allocations: 14.23 kB / 1.316 GB, free: 16.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches