Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.476/2.476, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 71.89 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.824/0.8258, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation): time 0.00776/0.8336, allocations: 8.294 MB / 1.279 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1861/1.02, allocations: 160.1 MB / 1.436 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/1.021, allocations: 41.41 kB / 1.436 GB, free: 10.05 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004931/1.026, allocations: 2.007 MB / 1.438 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/1.03, allocations: 1.3 MB / 1.439 GB, free: 7.703 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/1.033, allocations: 1.469 MB / 1.441 GB, free: 6.578 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005727/1.039, allocations: 5.4 MB / 1.446 GB, free: 2.098 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/1.04, allocations: 0.7532 MB / 1.447 GB, free: 1.293 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002536/1.043, allocations: 1.703 MB / 1.448 GB, free: 15.58 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/1.045, allocations: 1.611 MB / 1.45 GB, free: 13.97 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003972/1.046, allocations: 276 kB / 1.45 GB, free: 13.7 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004151/1.05, allocations: 2.442 MB / 1.452 GB, free: 11.25 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002589/1.052, allocations: 3.08 MB / 1.455 GB, free: 8.168 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.003169/1.055, allocations: 2.939 MB / 1.458 GB, free: 5.215 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.067, allocations: 10.87 MB / 1.469 GB, free: 10.31 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/1.067, allocations: 4 kB / 1.469 GB, free: 10.31 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.633e-06/1.067, allocations: 0 / 1.469 GB, free: 10.31 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001222/1.067, allocations: 0 / 1.469 GB, free: 10.31 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 386 * Number of variables: 386 Notification: Performance of Generate backend data structure: time 0.01638/1.084, allocations: 8.456 MB / 1.477 GB, free: 1.758 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/1.084, allocations: 8.031 kB / 1.477 GB, free: 1.75 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002805/1.084, allocations: 223.9 kB / 1.477 GB, free: 1.52 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/1.086, allocations: 0.6221 MB / 1.478 GB, free: 0.8945 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2528/1.339, allocations: 276.1 MB / 1.748 GB, free: 12.6 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/1.339, allocations: 142.9 kB / 1.748 GB, free: 12.46 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/1.339, allocations: 184 kB / 1.748 GB, free: 12.28 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/1.342, allocations: 1.96 MB / 1.75 GB, free: 10.24 MB / 1.436 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/1.342, allocations: 3.938 kB / 1.75 GB, free: 10.23 MB / 1.436 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.343, allocations: 64 kB / 1.75 GB, free: 10.17 MB / 1.436 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/1.343, allocations: 40 kB / 1.75 GB, free: 10.13 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/1.345, allocations: 1.978 MB / 1.752 GB, free: 8.148 MB / 1.436 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.06146/1.407, allocations: 70.35 MB / 1.821 GB, free: 1.555 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/1.41, allocations: 1.573 MB / 1.822 GB, free: 15.97 MB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/1.411, allocations: 0.9077 MB / 1.823 GB, free: 15.07 MB / 1.514 GB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/1.411, allocations: 40.95 kB / 1.823 GB, free: 15.04 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001628/1.413, allocations: 1.192 MB / 1.824 GB, free: 13.82 MB / 1.514 GB Notification: Performance of pre-optimization done (n=117): time 2.986e-06/1.413, allocations: 0 / 1.824 GB, free: 13.82 MB / 1.514 GB Notification: Performance of matching and sorting (n=117): time 0.008028/1.421, allocations: 3.748 MB / 1.828 GB, free: 10.04 MB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002335/1.421, allocations: 346.5 kB / 1.828 GB, free: 9.648 MB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7979/2.219, allocations: 315.9 MB / 2.137 GB, free: 294.2 MB / 1.529 GB Notification: Performance of collectPreVariables (initialization): time 0.0003735/2.219, allocations: 65.7 kB / 2.137 GB, free: 294.2 MB / 1.529 GB Notification: Performance of collectInitialEqns (initialization): time 0.00211/2.221, allocations: 2.241 MB / 2.139 GB, free: 292.2 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.000339/2.222, allocations: 401.3 kB / 2.139 GB, free: 292 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/2.222, allocations: 462.7 kB / 2.14 GB, free: 291.6 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 3.437e-05/2.222, allocations: 305.1 kB / 2.14 GB, free: 291.3 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/2.224, allocations: 1.526 MB / 2.142 GB, free: 289.8 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/2.225, allocations: 1.834 MB / 2.143 GB, free: 287.8 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002927/2.228, allocations: 3.226 MB / 2.147 GB, free: 284.5 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/2.228, allocations: 0 / 2.147 GB, free: 284.5 MB / 1.529 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.00673/2.235, allocations: 4.34 MB / 2.151 GB, free: 280.2 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/2.235, allocations: 169.6 kB / 2.151 GB, free: 280 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/2.235, allocations: 7.188 kB / 2.151 GB, free: 280 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/2.236, allocations: 94.95 kB / 2.151 GB, free: 279.9 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/2.237, allocations: 389 kB / 2.151 GB, free: 279.6 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/2.239, allocations: 1.647 MB / 2.153 GB, free: 277.8 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/2.242, allocations: 0.6458 MB / 2.154 GB, free: 277.2 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/2.242, allocations: 87.97 kB / 2.154 GB, free: 277.1 MB / 1.529 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 228 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002408/2.245, allocations: 2.16 MB / 2.156 GB, free: 275 MB / 1.529 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/2.247, allocations: 480.7 kB / 2.156 GB, free: 274.5 MB / 1.529 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/2.251, allocations: 3.41 MB / 2.16 GB, free: 271.1 MB / 1.529 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/2.251, allocations: 12 kB / 2.16 GB, free: 271.1 MB / 1.529 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/2.251, allocations: 3.469 kB / 2.16 GB, free: 271.1 MB / 1.529 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/2.251, allocations: 3.984 kB / 2.16 GB, free: 271.1 MB / 1.529 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/2.255, allocations: 4.091 MB / 2.164 GB, free: 266.9 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/2.255, allocations: 0 / 2.164 GB, free: 266.9 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006742/2.256, allocations: 187.6 kB / 2.164 GB, free: 266.8 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/2.257, allocations: 74.17 kB / 2.164 GB, free: 266.7 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/2.257, allocations: 39.97 kB / 2.164 GB, free: 266.7 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001376/2.258, allocations: 1.662 MB / 2.166 GB, free: 264.8 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/2.258, allocations: 64 / 2.166 GB, free: 264.8 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/2.263, allocations: 3.085 MB / 2.169 GB, free: 261.7 MB / 1.529 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/2.265, allocations: 1.797 MB / 2.17 GB, free: 259.9 MB / 1.529 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007081/2.265, allocations: 35.88 kB / 2.17 GB, free: 259.9 MB / 1.529 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/2.267, allocations: 415.9 kB / 2.171 GB, free: 259.5 MB / 1.529 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/2.268, allocations: 92.81 kB / 2.171 GB, free: 259.4 MB / 1.529 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/2.268, allocations: 71.95 kB / 2.171 GB, free: 259.3 MB / 1.529 GB Notification: Performance of sorting global known variables: time 0.1388/2.407, allocations: 251.5 MB / 2.417 GB, free: 7.773 MB / 1.529 GB Notification: Performance of sort global known variables: time 2.51e-07/2.407, allocations: 0 / 2.417 GB, free: 7.773 MB / 1.529 GB Notification: Performance of remove unused functions: time 0.004387/2.411, allocations: 1.421 MB / 2.418 GB, free: 6.355 MB / 1.529 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007807/2.419, allocations: 4.519 MB / 2.422 GB, free: 2.059 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.004026/2.423, allocations: 3.337 MB / 2.426 GB, free: 14.7 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/2.423, allocations: 4 kB / 2.426 GB, free: 14.7 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/2.425, allocations: 1.532 MB / 2.427 GB, free: 13.14 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/2.429, allocations: 0.6116 MB / 2.428 GB, free: 12.56 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.39/4.819, allocations: 1.258 GB / 3.686 GB, free: 498.2 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002368/4.822, allocations: 3.017 MB / 3.689 GB, free: 495.8 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.003385/4.825, allocations: 1.691 MB / 3.69 GB, free: 494.5 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003214/4.828, allocations: 2.347 MB / 3.693 GB, free: 492.4 MB / 1.545 GB Notification: Performance of SimCode: time 1.172e-06/4.828, allocations: 0 / 3.693 GB, free: 492.4 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2901/5.118, allocations: 287.6 MB / 3.973 GB, free: 212.3 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.78/25.9, allocations: 6.234 kB / 3.973 GB, free: 212.3 MB / 1.545 GB " [Timeout remaining time 274] (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation_fmu --startTime=0 --stopTime=864000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiation.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: 31.735264314000233]