Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.0008643/0.0008643, 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.0008373/0.0008373, allocations: 169.9 kB / 22.46 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.9358/0.9358, 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.716/1.716, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9811 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.312e-05, allocations: 2.281 kB / 0.9811 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00496/0.004973, allocations: 6.403 MB / 0.9873 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.005035/0.01001, allocations: 5.068 MB / 0.9923 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.01069, allocations: 79.31 kB / 0.9923 GB, free: 5.754 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/0.01328, allocations: 1.597 MB / 0.9939 GB, free: 4.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.0141, allocations: 0.6628 MB / 0.9945 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.01476, allocations: 398.9 kB / 0.9949 GB, free: 3.09 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.001921/0.01668, allocations: 3.072 MB / 0.9979 GB, free: 12 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.017, allocations: 226.5 kB / 0.9981 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.0183, allocations: 1.504 MB / 0.9996 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.01937, allocations: 1.532 MB / 1.001 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.01957, allocations: 196 kB / 1.001 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.01996, allocations: 327.7 kB / 1.002 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0003799/0.02034, allocations: 0.7283 MB / 1.002 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.02089, allocations: 0.8028 MB / 1.003 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.02311, allocations: 3.817 MB / 1.007 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.02311, allocations: 3.938 kB / 1.007 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.263e-06/0.02311, allocations: 0 / 1.007 GB, free: 6.844 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.02313, allocations: 0 / 1.007 GB, free: 6.844 MB / 0.9167 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.003594/0.02672, allocations: 3.446 MB / 1.01 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.02676, allocations: 8.031 kB / 1.01 GB, free: 3.332 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.294e-05/0.02683, allocations: 86.72 kB / 1.01 GB, free: 3.238 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.02706, allocations: 263.3 kB / 1.011 GB, free: 2.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.02914, allocations: 1.933 MB / 1.012 GB, free: 0.9883 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.02917, allocations: 69.11 kB / 1.012 GB, free: 0.9219 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.02929, allocations: 88 kB / 1.013 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006635/0.02995, allocations: 0.7091 MB / 1.013 GB, free: 124 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.02996, allocations: 4 kB / 1.013 GB, free: 120 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.02999, allocations: 20 kB / 1.013 GB, free: 100 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.03, allocations: 12 kB / 1.013 GB, free: 88 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.03094, allocations: 0.968 MB / 1.014 GB, free: 15.12 MB / 0.9323 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.004974/0.03591, allocations: 3.727 MB / 1.018 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.03682, allocations: 0.7468 MB / 1.019 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003983/0.03722, allocations: 471.1 kB / 1.019 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.03725, allocations: 4 kB / 1.019 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.03727, allocations: 38.56 kB / 1.019 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=44): time 2.074e-06/0.03727, allocations: 0 / 1.019 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44): time 0.005067/0.04234, allocations: 3.379 MB / 1.022 GB, free: 6.684 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/0.04237, allocations: 55.41 kB / 1.022 GB, free: 6.617 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.04471, allocations: 2.949 MB / 1.025 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/0.0448, allocations: 53.7 kB / 1.025 GB, free: 3.598 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.04535, allocations: 0.8596 MB / 1.026 GB, free: 2.73 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.04545, allocations: 170.6 kB / 1.026 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.0458, allocations: 327.5 kB / 1.027 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.166e-05/0.04589, allocations: 365.9 kB / 1.027 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.04707, allocations: 1.37 MB / 1.028 GB, free: 0.5039 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3718/0.4189, allocations: 1.845 MB / 1.03 GB, free: 54.78 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.4211, allocations: 1.924 MB / 1.032 GB, free: 54.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.4211, allocations: 0 / 1.032 GB, free: 54.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00558/0.4267, allocations: 4.07 MB / 1.036 GB, free: 52.79 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4267, allocations: 5.531 kB / 1.036 GB, free: 52.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4267, allocations: 4.703 kB / 1.036 GB, free: 52.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00214/0.4289, allocations: 1.103 MB / 1.037 GB, free: 52.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.4296, allocations: 225.3 kB / 1.037 GB, free: 52.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007386/0.437, allocations: 7.746 MB / 1.045 GB, free: 49.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.4381, allocations: 271.4 kB / 1.045 GB, free: 49.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4382, allocations: 43.83 kB / 1.045 GB, free: 49.17 MB / 0.9323 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.0008635/0.4391, allocations: 0.7974 MB / 1.046 GB, free: 48.83 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.4392, allocations: 227.5 kB / 1.046 GB, free: 48.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.4395, allocations: 257.1 kB / 1.046 GB, free: 48.57 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4395, allocations: 4.031 kB / 1.046 GB, free: 48.57 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-05/0.4395, allocations: 9.891 kB / 1.046 GB, free: 48.57 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4395, allocations: 4.031 kB / 1.046 GB, free: 48.57 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009193/0.4404, allocations: 1.048 MB / 1.047 GB, free: 48.13 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4404, allocations: 2.859 kB / 1.047 GB, free: 48.13 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.265e-05/0.4404, allocations: 7.875 kB / 1.047 GB, free: 48.13 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.4421, allocations: 1.021 MB / 1.048 GB, free: 47.98 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.4422, allocations: 9.219 kB / 1.049 GB, free: 47.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/0.4494, allocations: 7.733 MB / 1.056 GB, free: 44.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4494, allocations: 0 / 1.056 GB, free: 44.55 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.4517, allocations: 1.943 MB / 1.058 GB, free: 43.86 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/0.4521, allocations: 384 kB / 1.058 GB, free: 43.68 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4523, allocations: 10.19 kB / 1.058 GB, free: 43.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003175/0.4526, allocations: 29.27 kB / 1.058 GB, free: 43.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.179e-05/0.4527, allocations: 47.06 kB / 1.058 GB, free: 43.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.4527, allocations: 12.25 kB / 1.058 GB, free: 43.65 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001967/0.4547, allocations: 2.038 MB / 1.06 GB, free: 42.99 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.4547, allocations: 4 kB / 1.06 GB, free: 42.98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0009571/0.4556, allocations: 0.6127 MB / 1.061 GB, free: 42.94 MB / 0.9323 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.002587/0.4582, allocations: 2.557 MB / 1.064 GB, free: 41.72 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002816/0.461, allocations: 2.514 MB / 1.066 GB, free: 40.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.461, allocations: 0 / 1.066 GB, free: 40.81 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.4622, allocations: 1.021 MB / 1.067 GB, free: 40.42 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.4637, allocations: 0.6704 MB / 1.068 GB, free: 40.22 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/0.4907, allocations: 25.25 MB / 1.092 GB, free: 29.32 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.4914, allocations: 1.333 MB / 1.094 GB, free: 28.01 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005752/0.492, allocations: 333.8 kB / 1.094 GB, free: 27.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/0.4925, allocations: 0.7034 MB / 1.095 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of SimCode: time 1.022e-06/0.4925, allocations: 0 / 1.095 GB, free: 26.98 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05983/0.5524, allocations: 67.35 MB / 1.16 GB, free: 8.539 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.575/9.127, allocations: 10.02 kB / 1.16 GB, free: 8.535 MB / 0.9792 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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: 13.147313469089568]