Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.001096/0.001096, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001232/0.001232, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.844/0.844, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.9 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.9811 GB, free: 2.488 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.072e-05, allocations: 6.219 kB / 0.9811 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.008364/0.008385, allocations: 6.948 MB / 0.9878 GB, free: 11.5 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006811/0.0152, allocations: 4.9 MB / 0.9926 GB, free: 6.578 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007943/0.01599, allocations: 75.44 kB / 0.9927 GB, free: 6.504 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.003708/0.0197, allocations: 1.628 MB / 0.9943 GB, free: 4.867 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.02092, allocations: 0.7015 MB / 0.995 GB, free: 4.16 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.02167, allocations: 317.4 kB / 0.9953 GB, free: 3.852 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00191/0.02358, allocations: 2.145 MB / 0.9974 GB, free: 1.703 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004219/0.024, allocations: 309.1 kB / 0.9977 GB, free: 1.379 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.0251, allocations: 1.103 MB / 0.9987 GB, free: 280 kB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007419/0.02584, allocations: 0.7442 MB / 0.9995 GB, free: 15.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001613/0.026, allocations: 96 kB / 0.9996 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.02638, allocations: 219.7 kB / 0.9998 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.02662, allocations: 386.3 kB / 1 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.02709, allocations: 0.5142 MB / 1.001 GB, free: 14.32 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00173/0.02882, allocations: 2.566 MB / 1.003 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.02883, allocations: 7.984 kB / 1.003 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.864e-06/0.02883, allocations: 4 kB / 1.003 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.368e-05/0.02887, allocations: 0 / 1.003 GB, free: 11.73 MB / 0.9636 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.002554/0.03143, allocations: 2.376 MB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.03146, allocations: 12.03 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.395e-05/0.03154, allocations: 94.7 kB / 1.006 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.03174, allocations: 227.4 kB / 1.006 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.03356, allocations: 1.65 MB / 1.007 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.03359, allocations: 41.12 kB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.704e-05/0.03364, allocations: 52 kB / 1.008 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.03419, allocations: 0.5568 MB / 1.008 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.0342, allocations: 0 / 1.008 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.03423, allocations: 16 kB / 1.008 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.03424, allocations: 12 kB / 1.008 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.03474, allocations: 0.4957 MB / 1.009 GB, free: 6.086 MB / 0.9636 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.00245/0.03719, allocations: 2.517 MB / 1.011 GB, free: 3.457 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.332e-05/0.03726, allocations: 58.53 kB / 1.011 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.03731, allocations: 48.83 kB / 1.011 GB, free: 3.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.03732, allocations: 3.984 kB / 1.011 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/0.03734, allocations: 30.56 kB / 1.011 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.03734, allocations: 0 / 1.011 GB, free: 3.297 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0003594/0.0377, allocations: 372.1 kB / 1.012 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.03772, allocations: 55.53 kB / 1.012 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002374/0.0401, allocations: 2.95 MB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.04011, allocations: 25.7 kB / 1.014 GB, free: 15.86 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005881/0.0407, allocations: 0.9435 MB / 1.015 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.04071, allocations: 11.94 kB / 1.015 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.04081, allocations: 122 kB / 1.016 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.04088, allocations: 326 kB / 1.016 GB, free: 14.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.04103, allocations: 152.9 kB / 1.016 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.04132, allocations: 494.6 kB / 1.016 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.04173, allocations: 0.602 MB / 1.017 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.04174, allocations: 4 kB / 1.017 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006545/0.04239, allocations: 0.777 MB / 1.018 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.04241, allocations: 12 kB / 1.018 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.04242, allocations: 8 kB / 1.018 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.04243, allocations: 16.75 kB / 1.018 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.04261, allocations: 99.84 kB / 1.018 GB, free: 12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.04262, allocations: 31.86 kB / 1.018 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.04294, allocations: 87.25 kB / 1.018 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.04296, allocations: 28 kB / 1.018 GB, free: 11.85 MB / 0.9792 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.0005327/0.0435, allocations: 0.7354 MB / 1.019 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.04363, allocations: 214.5 kB / 1.019 GB, free: 10.89 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.04382, allocations: 231.7 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.04382, allocations: 0 / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.04382, allocations: 4 kB / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.04383, allocations: 0 / 1.019 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006371/0.04446, allocations: 0.8175 MB / 1.02 GB, free: 9.797 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.04447, allocations: 7.875 kB / 1.02 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.04449, allocations: 0 / 1.02 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.04449, allocations: 0 / 1.02 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.0445, allocations: 0 / 1.02 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.0445, allocations: 0 / 1.02 GB, free: 9.789 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0445, allocations: 7.938 kB / 1.02 GB, free: 9.781 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.04476, allocations: 430.3 kB / 1.02 GB, free: 9.344 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003182/0.04508, allocations: 306.5 kB / 1.021 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.04517, allocations: 0 / 1.021 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.04536, allocations: 7.922 kB / 1.021 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.04537, allocations: 0 / 1.021 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.04538, allocations: 0 / 1.021 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001745/0.04712, allocations: 2.062 MB / 1.023 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04712, allocations: 0 / 1.023 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000476/0.0476, allocations: 243.8 kB / 1.023 GB, free: 6.727 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 (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.0006529/0.04825, allocations: 1.04 MB / 1.024 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.04856, allocations: 293.7 kB / 1.024 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.04856, allocations: 0 / 1.024 GB, free: 5.383 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.04861, allocations: 43.95 kB / 1.024 GB, free: 5.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.04997, allocations: 0.7193 MB / 1.025 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.06487, allocations: 16.33 MB / 1.041 GB, free: 3.816 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.06565, allocations: 1.226 MB / 1.042 GB, free: 2.551 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004786/0.06613, allocations: 305.4 kB / 1.042 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.06665, allocations: 0.68 MB / 1.043 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/0.06665, allocations: 0 / 1.043 GB, free: 1.566 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3899/0.4565, allocations: 47.71 MB / 1.09 GB, free: 93.08 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.149/8.606, allocations: 4.984 kB / 1.09 GB, free: 93.08 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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: 12.605531154200435]